fix stackable shulkerboxes ignoring other tags
This commit is contained in:
1 parent
98036e51a6
commit
144f3a2ad8
1 file changed
+5
-1
@@ -36,11 +36,15 @@ public class InventoryHelper
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (bet.isEmpty())
|
if (bet.isEmpty())
|
||||||
|
{
|
||||||
|
tag.remove("BlockEntityTag");
|
||||||
|
changed = true;
|
||||||
|
}
|
||||||
|
if (tag.isEmpty())
|
||||||
{
|
{
|
||||||
stack.setTag(null);
|
stack.setTag(null);
|
||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return changed;
|
return changed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user