mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-21 04:42:25 +00:00
Refactor ICarvable to receive world and pos references. Closes #147.
This commit is contained in:
1 parent
2658e099a3
commit
1292a68d8d
19 files changed
+163
-81
No files matched your search
@@ -47,7 +47,7 @@ public class ItemCarvable extends ItemBlock {
|
||||
return;
|
||||
|
||||
ICarvable carvable = (ICarvable) block;
|
||||
CarvableVariation var = carvable.getVariation(stack.getItemDamage());
|
||||
CarvableVariation var = carvable.getVariation(stack);
|
||||
if (var == null)
|
||||
return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user