Networks now run at 1x speed.
Illuminated Panels now use proper channel and power settings.
This commit is contained in:
parent
f5fc2ba18e
commit
572352c18e
3 changed files with 6 additions and 6 deletions
|
@ -14,6 +14,7 @@ import appeng.tile.AEBaseTile;
|
|||
import appeng.util.Platform;
|
||||
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
|
||||
import cpw.mods.fml.common.gameevent.TickEvent;
|
||||
import cpw.mods.fml.common.gameevent.TickEvent.Phase;
|
||||
import cpw.mods.fml.common.gameevent.TickEvent.Type;
|
||||
|
||||
public class TickHandler
|
||||
|
@ -104,7 +105,7 @@ public class TickHandler
|
|||
@SubscribeEvent
|
||||
public void onTick(TickEvent ev)
|
||||
{
|
||||
if ( ev.type == Type.SERVER )
|
||||
if ( ev.type == Type.SERVER && ev.phase == Phase.END )
|
||||
{
|
||||
HandlerRep repo = getRepo();
|
||||
while (!repo.tiles.isEmpty())
|
||||
|
|
|
@ -13,8 +13,7 @@ public class PartDarkMonitor extends PartMonitor
|
|||
{
|
||||
|
||||
public PartDarkMonitor(ItemStack is) {
|
||||
super( PartDarkMonitor.class, is,false );
|
||||
|
||||
super( PartDarkMonitor.class, is, false );
|
||||
notLightSource = false;
|
||||
}
|
||||
|
||||
|
|
|
@ -111,10 +111,10 @@ public class PartMonitor extends AEBasePart implements IPartMonitor, IPowerChann
|
|||
}
|
||||
|
||||
public PartMonitor(ItemStack is) {
|
||||
super( PartMonitor.class, is );
|
||||
this( PartMonitor.class, is, false );
|
||||
}
|
||||
|
||||
protected PartMonitor(Class c, ItemStack is, boolean requireChannel ) {
|
||||
protected PartMonitor(Class c, ItemStack is, boolean requireChannel) {
|
||||
super( c, is );
|
||||
|
||||
if ( requireChannel )
|
||||
|
|
Loading…
Reference in a new issue