Fix typo in ofBlockUnlocalizedName

also added standard way of toggling debug mode pogrammatically
This commit is contained in:
Glease committed 2021-08-01 03:07:51 +08:00
1 parent f1f6dae00f
commit b086a65828
3 files changed
+10 -2

No files matched your search

@@ -289,7 +289,7 @@ public class StructureUtility {
@Override
public boolean check(T t, World world, int x, int y, int z) {
return world.getBlock(x, y, z) != getBlock() && world.getBlockMetadata(x, y, z) == meta;
return world.getBlock(x, y, z) == getBlock() && world.getBlockMetadata(x, y, z) == meta;
}
@Override