Fix kelp modifier having reverse effect (#6806)

This commit is contained in:
Jake Potrebic
2021-12-03 18:12:42 -08:00
parent 308d560605
commit 3b65d0e14c
2 changed files with 6 additions and 2 deletions

View File

@@ -107,7 +107,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
}
- if (i < 3) {
+ if (i < world.paperConfig.reedMaxHeight) { // Paper - Configurable growth height
+ if (i < world.paperConfig.reedMaxHeight) { // Paper - Configurable growth height
int j = (Integer) state.getValue(SugarCaneBlock.AGE);
if (j >= (byte) range(3, ((100.0F / world.spigotConfig.caneModifier) * 15) + 0.5F, 15)) { // Spigot