Fix slot backgrounds

This commit is contained in:
mezz committed 2016-12-22 19:26:19 -08:00
1 parent d55b91df48
commit abf6ccb3ed
1 file changed
+4 -1
@@ -36,9 +36,12 @@ public class SlotFiltered extends SlotWatched {
@Override
public boolean isItemValid(ItemStack itemstack) {
if (itemstack.isEmpty()) {
return true;
}
int slotIndex = getSlotIndex();
return !filterSlotDelegate.isLocked(slotIndex) &&
(itemstack == null || filterSlotDelegate.canSlotAccept(slotIndex, itemstack));
filterSlotDelegate.canSlotAccept(slotIndex, itemstack);
}
public SlotFiltered setBlockedTexture(String ident) {