Remove unnecessary variable

This commit is contained in:
Falxie_ 2022-11-12 02:02:58 +00:00
parent c5e178de80
commit c06d9bf81c

View file

@ -28,7 +28,6 @@ public class StationUnloadedCondition extends ScheduleWaitCondition {
GlobalStation currentStation = train.getCurrentStation(); GlobalStation currentStation = train.getCurrentStation();
if (currentStation == null) if (currentStation == null)
return false; return false;
BlockPos stationPos = currentStation.getTilePos();
ResourceKey<Level> stationDim = currentStation.getTileDimension(); ResourceKey<Level> stationDim = currentStation.getTileDimension();
MinecraftServer server = level.getServer(); MinecraftServer server = level.getServer();
if (server == null) if (server == null)