3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-23 14:50:08 +01:00
Paper/nms-patches/WorldGenGroundBush.patch
2019-12-11 09:00:00 +11:00

23 Zeilen
754 B
Diff

--- a/net/minecraft/server/WorldGenGroundBush.java
+++ b/net/minecraft/server/WorldGenGroundBush.java
@@ -29,8 +29,19 @@
}
}
}
+ // CraftBukkit start - Return false if gen was unsuccessful
+ } else {
+ return false;
}
+ // CraftBukkit end
return true;
}
+
+ // 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
}