removed setblock with the Minecraft block class as a parameter

This commit is contained in:
1whohears committed 2022-05-27 11:28:01 -05:00
1 parent 0d2011b2ba
commit f83487f67b
2 files changed
+3 -21

No files matched your search

@@ -102,14 +102,6 @@ public class ScriptWorld implements IWorld {
return null;
}
public void setBlock(int x, int y, int z, Block block){
if(block == null || block.isAir(world, x, y, z)){
removeBlock(x, y, z);
return;
}
world.setBlock(x, y, z, block);
}
public void setBlock(int x, int y, int z, IBlock block){
if(block == null || block.getMCBlock().isAir(world, x, y, z)){
removeBlock(x, y, z);