2016-03-28 20:55:47 -04:00
|
|
|
--- a/net/minecraft/world/level/EmptyBlockGetter.java
|
|
|
|
+++ b/net/minecraft/world/level/EmptyBlockGetter.java
|
2024-12-14 23:42:27 +00:00
|
|
|
@@ -17,6 +_,18 @@
|
2016-03-28 20:55:47 -04:00
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
+ // Paper start - If loaded util
|
2024-12-14 23:42:27 +00:00
|
|
|
+ @Override
|
2016-03-28 20:55:47 -04: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-14 23:42:27 +00:00
|
|
|
@Override
|
2016-03-28 20:55:47 -04:00
|
|
|
public BlockState getBlockState(BlockPos pos) {
|
|
|
|
return Blocks.AIR.defaultBlockState();
|