Use clearRemoved rather than onLoad

Latter is broken on Forge right now.
This commit is contained in:
Jonathan Coates
2021-08-20 21:48:34 +01:00
parent 0a8e427c61
commit 4d591c600c
3 changed files with 7 additions and 7 deletions
@@ -53,7 +53,7 @@ public class TileCable extends TileGeneric
@Override @Override
public Level getLevel() public Level getLevel()
{ {
return this.getLevel(); return TileCable.this.getLevel();
} }
@Nonnull @Nonnull
@@ -166,9 +166,9 @@ public class TileCable extends TileGeneric
} }
@Override @Override
public void onLoad() public void clearRemoved()
{ {
super.onLoad(); super.clearRemoved(); // TODO: Replace with onLoad
TickScheduler.schedule( this ); TickScheduler.schedule( this );
} }
@@ -251,9 +251,9 @@ public class TileWiredModemFull extends TileGeneric
} }
@Override @Override
public void onLoad() public void clearRemoved()
{ {
super.onLoad(); super.clearRemoved(); // TODO: Replace with onLoad
TickScheduler.schedule( this ); TickScheduler.schedule( this );
} }
@@ -80,9 +80,9 @@ public class TileWirelessModem extends TileGeneric
} }
@Override @Override
public void onLoad() public void clearRemoved()
{ {
super.onLoad(); super.clearRemoved(); // TODO: Replace with onLoad
TickScheduler.schedule( this ); TickScheduler.schedule( this );
} }