mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-10-15 05:57:38 +00:00
Use clearRemoved rather than onLoad
Latter is broken on Forge right now.
This commit is contained in:
@@ -53,7 +53,7 @@ public class TileCable extends TileGeneric
|
||||
@Override
|
||||
public Level getLevel()
|
||||
{
|
||||
return this.getLevel();
|
||||
return TileCable.this.getLevel();
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
@@ -166,9 +166,9 @@ public class TileCable extends TileGeneric
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onLoad()
|
||||
public void clearRemoved()
|
||||
{
|
||||
super.onLoad();
|
||||
super.clearRemoved(); // TODO: Replace with onLoad
|
||||
TickScheduler.schedule( this );
|
||||
}
|
||||
|
||||
|
@@ -251,9 +251,9 @@ public class TileWiredModemFull extends TileGeneric
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onLoad()
|
||||
public void clearRemoved()
|
||||
{
|
||||
super.onLoad();
|
||||
super.clearRemoved(); // TODO: Replace with onLoad
|
||||
TickScheduler.schedule( this );
|
||||
}
|
||||
|
||||
|
@@ -80,9 +80,9 @@ public class TileWirelessModem extends TileGeneric
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onLoad()
|
||||
public void clearRemoved()
|
||||
{
|
||||
super.onLoad();
|
||||
super.clearRemoved(); // TODO: Replace with onLoad
|
||||
TickScheduler.schedule( this );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user