quick fix : Unnecessary 'return' statement

This commit is contained in:
Alexdoru authored and Jason Mitchell committed 2023-01-28 18:02:41 -08:00
1 parent 67c8b53cf1
commit bbaba41d83
3 files changed
+1 -7

No files matched your search

@@ -32,9 +32,7 @@ public abstract class EquipLogic extends InventoryLogic {
@Override
public void setInventorySlotContents(int slot, ItemStack stack) {
if (slot == 0) {
return;
} else {
if (slot != 0) {
super.setInventorySlotContents(slot, stack);
}
}
@@ -85,7 +85,6 @@ public class StencilTableLogic extends InventoryLogic implements ISidedInventory
if (inventory[slot].stackSize == 0) {
inventory[slot] = null;
}
return;
}
}