This commit is contained in:
kuba6000 committed 2022-10-12 21:09:45 +02:00
1 parent d993c90c3e
commit 14a712260b
156 files changed
+14896 -13422

No files matched your search

@@ -10,17 +10,17 @@ public class SlotFrame extends SlotCustomItems {
}
@Override
public boolean isItemValid(ItemStack itemStack){
if (itemStack == null){
public boolean isItemValid(ItemStack itemStack) {
if (itemStack == null) {
return false;
}
if (!inventory.isItemValidForSlot(getSlotIndex(), itemStack)){
if (!inventory.isItemValidForSlot(getSlotIndex(), itemStack)) {
return false;
}
boolean flag = false;
if(itemStack.getItem() instanceof IHiveFrame){
if (itemStack.getItem() instanceof IHiveFrame) {
flag = true;
}