Fix some compilation errors
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
--- 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();
|
||||
Reference in New Issue
Block a user