2016-03-29 02:55:47 +02:00
|
|
|
--- a/net/minecraft/world/level/EmptyBlockGetter.java
|
|
|
|
+++ b/net/minecraft/world/level/EmptyBlockGetter.java
|
2024-12-15 00:42:27 +01:00
|
|
|
@@ -17,6 +_,18 @@
|
2016-03-29 02:55:47 +02:00
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
+ // Paper start - If loaded util
|
2024-12-15 00:42:27 +01:00
|
|
|
+ @Override
|
2016-03-29 02:55:47 +02:00
|
|
|
+ public final FluidState getFluidIfLoaded(BlockPos blockposition) {
|
|
|
|
+ return Fluids.EMPTY.defaultFluidState();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ public final BlockState getBlockStateIfLoaded(BlockPos blockposition) {
|
|
|
|
+ return Blocks.AIR.defaultBlockState();
|
|
|
|
+ }
|
|
|
|
+ // Paper end
|
|
|
|
+
|
2024-12-15 00:42:27 +01:00
|
|
|
@Override
|
2016-03-29 02:55:47 +02:00
|
|
|
public BlockState getBlockState(BlockPos pos) {
|
|
|
|
return Blocks.AIR.defaultBlockState();
|