Networks now run at 1x speed.

Illuminated Panels now use proper channel and power settings.
This commit is contained in:
AlgorithmX2 2014-04-17 19:44:51 -05:00
parent f5fc2ba18e
commit 572352c18e
3 changed files with 6 additions and 6 deletions

View file

@ -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())

View file

@ -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;
}

View file

@ -111,12 +111,12 @@ 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 )
proxy.setFlags( GridFlags.REQUIRE_CHANNEL );
else