mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-25 06:24:54 +00:00
Spotless
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user