Fixes #2575: Removed ITickable from AEBaseTile
Removed TileEventType.TICK, use ITickable when really needed. The few tiles needing to tick and are not a grid tile now implement ITickable. Charger is no longer implementing ITickable.
This commit is contained in:
@@ -34,8 +34,6 @@ import net.minecraftforge.fml.common.FMLCommonHandler;
|
||||
import appeng.core.AELog;
|
||||
import appeng.core.AppEng;
|
||||
import appeng.tile.AEBaseTile;
|
||||
import appeng.tile.TileEvent;
|
||||
import appeng.tile.events.TileEventType;
|
||||
import appeng.util.Platform;
|
||||
|
||||
|
||||
@@ -45,8 +43,8 @@ public class TileChunkLoader extends AEBaseTile implements ITickable
|
||||
private boolean requestTicket = true;
|
||||
private Ticket ct = null;
|
||||
|
||||
@TileEvent( TileEventType.TICK )
|
||||
public void onTickEvent()
|
||||
@Override
|
||||
public void update()
|
||||
{
|
||||
if( this.requestTicket )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user