mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-28 15:46:01 +00:00
Fix pick block crash on sorter
This commit is contained in:
1 parent
8478096bc7
commit
2fb13e1f3d
1 file changed
+3
-1
@@ -336,7 +336,9 @@ public class ItemBlockMachine extends ItemBlock implements IEnergizedItem, IItem
|
||||
{
|
||||
if(data[0] instanceof ItemStack)
|
||||
{
|
||||
if(((ItemStack)data[0]).getItemDamage() != 11 && ((ItemStack)data[0]).getItemDamage() != 12 && ((ItemStack)data[0]).getItemDamage() != 13 && ((ItemStack)data[0]).getItemDamage() != 14)
|
||||
int meta = ((ItemStack)data[0]).getItemDamage();
|
||||
|
||||
if(meta != 11 && meta != 12 && meta != 13 && meta != 14 && meta != 15)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user