We already check the block data before calling this function.

This commit is contained in:
GJ 2013-02-19 01:06:06 -05:00
parent 6571864b16
commit 9c0f763949

View File

@ -95,9 +95,7 @@ public class Herbalism {
switch (type) { switch (type) {
case SMOOTH_BRICK: case SMOOTH_BRICK:
if (block.getData() == 0x0) { block.setData((byte) 0x1);
block.setData((byte) 0x1);
}
return; return;
case DIRT: case DIRT:
@ -109,9 +107,7 @@ public class Herbalism {
return; return;
case COBBLE_WALL: case COBBLE_WALL:
if (block.getData() == 0x0) { block.setData((byte) 0x1);
block.setData((byte) 0x1);
}
return; return;
default: default: