Skip to content

Commit

Permalink
Remove Debug Code
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabboz authored Dec 22, 2024
1 parent 89f7020 commit 8429106
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ public boolean acceptsRedstone() {

boolean isPlant(int x, int y, int z) {
Block block = supertile.getWorldObj().getBlock(x, y, z);
// System.out.println("AgriUnlocalName:" + block.getUnlocalizedName());
String[] names = {"tile.ImmersiveEngineering.hemp", "tile.natura.crops", "tile.witchery:mandrake", "tile.witchery:belladonna", "tile.witchery:artichoke", "tile.witchery:snowbell", "tile.witchery:wormwood", "tile.witchery:mindrake", "tile.witchery:wolfsbane", "tile.witchery:garlic"};
boolean exit = false;
if(block instanceof BlockBush ) {
Expand All @@ -77,7 +76,7 @@ boolean isPlant(int x, int y, int z) {
return false;
}
}
if(block == Blocks.grass || block == Blocks.leaves || block == Blocks.leaves2/* || block instanceof BlockBush && !(block instanceof BlockCrops) && !(block instanceof BlockSapling)*/)
if(block == Blocks.grass || block == Blocks.leaves || block == Blocks.leaves2)
return false;

Material mat = block.getMaterial();
Expand Down

0 comments on commit 8429106

Please sign in to comment.