mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-26 23:23:15 +00:00
Fix left clicking a metal block incorrectly changing the type
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user