Fix left clicking a metal block incorrectly changing the type

This commit is contained in:
tterrag1098 committed 2015-02-16 12:40:08 -05:00
1 parent 55807a5f0b
commit 25a54b71e1
2 files changed
+9 -5

No files matched your search

@@ -102,7 +102,7 @@ public enum ChiselMode implements IChiselMode {
}
if (held != null && held.getItem() instanceof IChiselItem) {
if (origBlock == block) {
if (origBlock == v.getBlock()) {
world.setBlockMetadataWithNotify(x, y, z, v.getBlockMeta(), 3);
} else {
world.setBlock(x, y, z, v.getBlock(), v.getBlockMeta(), 3);