mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 12:09:39 +00:00
Fix slot backgrounds
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user