mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 19:34:09 +01:00
21 lines
666 B
Diff
21 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();
|