mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-25 01:21:21 +01:00
Fixes a mistake in clean super flat listener
There was a logical mistake in checking if a clean super flat should work.
This commit is contained in:
parent
87a6799cd1
commit
d9ad9f158b
@ -141,7 +141,7 @@ public class CleanSuperFlatListener extends FlagListener {
|
||||
return !(e.getChunk().getBlock(0, 0, 0).getType().equals(Material.BEDROCK) &&
|
||||
e.getChunk().getBlock(0, 1, 0).getType().equals(Material.DIRT) &&
|
||||
e.getChunk().getBlock(0, 2, 0).getType().equals(Material.DIRT) &&
|
||||
e.getChunk().getBlock(0, 3, 0).getType().equals(Material.GRASS_BLOCK)) ||
|
||||
e.getChunk().getBlock(0, 3, 0).getType().equals(Material.GRASS_BLOCK)) &&
|
||||
!(e.getChunk().getBlock(0, minHeight, 0).getType().equals(Material.BEDROCK) &&
|
||||
e.getChunk().getBlock(0, minHeight + 1, 0).getType().equals(Material.DIRT) &&
|
||||
e.getChunk().getBlock(0, minHeight + 2, 0).getType().equals(Material.DIRT) &&
|
||||
|
Loading…
Reference in New Issue
Block a user