mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-14 01:04:12 +00:00
commit
95b4bd6689
1 file changed
+1
-1
@@ -72,7 +72,7 @@ public class BackpackDefinition implements IBackpackDefinition {
|
||||
@Override
|
||||
public boolean isValidItem(EntityPlayer player, ItemStack itemstack) {
|
||||
for (ItemStack stack : getValidItems(player))
|
||||
if (stack != null) {
|
||||
if (stack != null && stack.getItem() != null ) {
|
||||
if (stack.getItemDamage() == Defaults.WILDCARD) {
|
||||
if (stack.getItem() == itemstack.getItem())
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user