Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-20 21:40:06 +01:00
Fix crash with composters
Dieser Commit ist enthalten in:
Ursprung
22c3a2f9a5
Commit
9f12e29b71
@ -26,6 +26,7 @@ import net.minecraft.server.ParticleParam;
|
|||||||
import net.minecraft.server.SoundCategory;
|
import net.minecraft.server.SoundCategory;
|
||||||
import net.minecraft.server.SoundEffect;
|
import net.minecraft.server.SoundEffect;
|
||||||
import net.minecraft.server.TickList;
|
import net.minecraft.server.TickList;
|
||||||
|
import net.minecraft.server.TickListEmpty;
|
||||||
import net.minecraft.server.TileEntity;
|
import net.minecraft.server.TileEntity;
|
||||||
import net.minecraft.server.WorldBorder;
|
import net.minecraft.server.WorldBorder;
|
||||||
import net.minecraft.server.WorldData;
|
import net.minecraft.server.WorldData;
|
||||||
@ -40,12 +41,12 @@ public class DummyGeneratorAccess implements GeneratorAccess {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TickList<Block> getBlockTickList() {
|
public TickList<Block> getBlockTickList() {
|
||||||
throw new UnsupportedOperationException("Not supported yet.");
|
return TickListEmpty.b();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TickList<FluidType> getFluidTickList() {
|
public TickList<FluidType> getFluidTickList() {
|
||||||
throw new UnsupportedOperationException("Not supported yet.");
|
return TickListEmpty.b();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -192,9 +193,4 @@ public class DummyGeneratorAccess implements GeneratorAccess {
|
|||||||
public boolean a(BlockPosition blockposition, boolean flag, Entity entity, int i) {
|
public boolean a(BlockPosition blockposition, boolean flag, Entity entity, int i) {
|
||||||
throw new UnsupportedOperationException("Not supported yet.");
|
throw new UnsupportedOperationException("Not supported yet.");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public long ab() {
|
|
||||||
throw new UnsupportedOperationException("Not supported yet.");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren