mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 07:48:53 +01:00
22 lines
754 B
Diff
22 lines
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
|
|
}
|