mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 11:44:19 +01:00
22 lines
666 B
Diff
22 lines
666 B
Diff
|
--- a/net/minecraft/world/level/EmptyBlockAndTintGetter.java
|
||
|
+++ b/net/minecraft/world/level/EmptyBlockAndTintGetter.java
|
||
|
@@ -39,6 +_,18 @@
|
||
|
return Blocks.AIR.defaultBlockState();
|
||
|
}
|
||
|
|
||
|
+ // Paper start
|
||
|
+ @Override
|
||
|
+ public @org.jetbrains.annotations.Nullable BlockState getBlockStateIfLoaded(final BlockPos blockposition) {
|
||
|
+ return null;
|
||
|
+ }
|
||
|
+
|
||
|
+ @Override
|
||
|
+ public @org.jetbrains.annotations.Nullable FluidState getFluidIfLoaded(final BlockPos blockposition) {
|
||
|
+ return null;
|
||
|
+ }
|
||
|
+ // Paper end
|
||
|
+
|
||
|
@Override
|
||
|
public FluidState getFluidState(BlockPos pos) {
|
||
|
return Fluids.EMPTY.defaultFluidState();
|