mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-18 00:25:39 +01:00
23 lines
754 B
Diff
23 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
|
|
}
|