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 appeng.util.Platform;
|
||||||
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
|
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
|
||||||
import cpw.mods.fml.common.gameevent.TickEvent;
|
import cpw.mods.fml.common.gameevent.TickEvent;
|
||||||
|
import cpw.mods.fml.common.gameevent.TickEvent.Phase;
|
||||||
import cpw.mods.fml.common.gameevent.TickEvent.Type;
|
import cpw.mods.fml.common.gameevent.TickEvent.Type;
|
||||||
|
|
||||||
public class TickHandler
|
public class TickHandler
|
||||||
|
@ -104,7 +105,7 @@ public class TickHandler
|
||||||
@SubscribeEvent
|
@SubscribeEvent
|
||||||
public void onTick(TickEvent ev)
|
public void onTick(TickEvent ev)
|
||||||
{
|
{
|
||||||
if ( ev.type == Type.SERVER )
|
if ( ev.type == Type.SERVER && ev.phase == Phase.END )
|
||||||
{
|
{
|
||||||
HandlerRep repo = getRepo();
|
HandlerRep repo = getRepo();
|
||||||
while (!repo.tiles.isEmpty())
|
while (!repo.tiles.isEmpty())
|
||||||
|
|
|
@ -13,8 +13,7 @@ public class PartDarkMonitor extends PartMonitor
|
||||||
{
|
{
|
||||||
|
|
||||||
public PartDarkMonitor(ItemStack is) {
|
public PartDarkMonitor(ItemStack is) {
|
||||||
super( PartDarkMonitor.class, is,false );
|
super( PartDarkMonitor.class, is, false );
|
||||||
|
|
||||||
notLightSource = false;
|
notLightSource = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -111,12 +111,12 @@ public class PartMonitor extends AEBasePart implements IPartMonitor, IPowerChann
|
||||||
}
|
}
|
||||||
|
|
||||||
public PartMonitor(ItemStack is) {
|
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 );
|
super( c, is );
|
||||||
|
|
||||||
if ( requireChannel )
|
if ( requireChannel )
|
||||||
proxy.setFlags( GridFlags.REQUIRE_CHANNEL );
|
proxy.setFlags( GridFlags.REQUIRE_CHANNEL );
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue