3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-24 07:10:10 +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
}