3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-21 05:50:05 +01:00
Paper/nms-patches/WorldGenGroundBush.patch

23 Zeilen
754 B
Diff

2015-05-25 12:37:24 +02:00
--- a/net/minecraft/server/WorldGenGroundBush.java
+++ b/net/minecraft/server/WorldGenGroundBush.java
2019-12-10 23:00:00 +01:00
@@ -29,8 +29,19 @@
}
}
}
+ // CraftBukkit start - Return false if gen was unsuccessful
+ } else {
+ return false;
}
+ // CraftBukkit end
return true;
}
2019-12-10 23:00:00 +01:00
+
+ // CraftBukkit start - decompile error
+ @Override
+ public boolean generate(GeneratorAccess generatoraccess, ChunkGenerator<? extends GeneratorSettingsDefault> chunkgenerator, Random random, BlockPosition blockposition, WorldGenFeatureTreeConfiguration fc) {
+ return super.a(generatoraccess, chunkgenerator, random, blockposition, fc);
+ }
+ // CraftBukkit end
}