mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 19:59:55 +00:00
quick fix : Unnecessary 'return' statement
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user