diff options
Diffstat (limited to 'patches/server/0703-Add-missing-important-BlockStateListPopulator-method.patch')
-rw-r--r-- | patches/server/0703-Add-missing-important-BlockStateListPopulator-method.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/patches/server/0703-Add-missing-important-BlockStateListPopulator-method.patch b/patches/server/0703-Add-missing-important-BlockStateListPopulator-method.patch index e0b94dc4ac..94a1b50995 100644 --- a/patches/server/0703-Add-missing-important-BlockStateListPopulator-method.patch +++ b/patches/server/0703-Add-missing-important-BlockStateListPopulator-method.patch @@ -6,10 +6,10 @@ Subject: [PATCH] Add missing important BlockStateListPopulator methods Without these methods it causes exceptions due to these being used by certain feature generators. diff --git a/src/main/java/org/bukkit/craftbukkit/util/BlockStateListPopulator.java b/src/main/java/org/bukkit/craftbukkit/util/BlockStateListPopulator.java -index 072d105f05f3b535d53cfbf8538d1716f9cfcd0e..4d6d637188ef4010a71ea2eb6ea0310aea820511 100644 +index e32321f46625a3f08a9b6adb8f35895d0ee1b14e..514084aff8412251432dfe174a445ddb43361aed 100644 --- a/src/main/java/org/bukkit/craftbukkit/util/BlockStateListPopulator.java +++ b/src/main/java/org/bukkit/craftbukkit/util/BlockStateListPopulator.java -@@ -129,7 +129,7 @@ public class BlockStateListPopulator extends DummyGeneratorAccess { +@@ -130,7 +130,7 @@ public class BlockStateListPopulator extends DummyGeneratorAccess { @Override public boolean isFluidAtPosition(BlockPos pos, Predicate<FluidState> state) { @@ -18,9 +18,9 @@ index 072d105f05f3b535d53cfbf8538d1716f9cfcd0e..4d6d637188ef4010a71ea2eb6ea0310a } @Override -@@ -152,4 +152,33 @@ public class BlockStateListPopulator extends DummyGeneratorAccess { - public long nextSubTickCount() { - return this.world.nextSubTickCount(); +@@ -159,4 +159,33 @@ public class BlockStateListPopulator extends DummyGeneratorAccess { + public RandomSource getRandom() { + return this.world.getRandom(); } + + // Paper start |