Format cleanup

This commit is contained in:
mDiyo committed 2013-11-10 13:57:35 -08:00
1 parent c6ef343106
commit fdcb651ef4
130 files changed
+4066 -3266

No files matched your search

+15 -11
View File
@@ -33,22 +33,26 @@ public abstract class EquipLogic extends InventoryLogic
}
@Override
public void setInventorySlotContents(int slot, ItemStack stack){
if(slot == 0){
return;
}else{
super.setInventorySlotContents(slot, stack);
}
public void setInventorySlotContents (int slot, ItemStack stack)
{
if (slot == 0)
{
return;
}
else
{
super.setInventorySlotContents(slot, stack);
}
}
@Override
public ItemStack getStackInSlot(int slot)
public ItemStack getStackInSlot (int slot)
{
return slot != 0 ? inventory[slot] : null;
}
public boolean isStackInSlot(int slot)
public boolean isStackInSlot (int slot)
{
return slot != 0 ? inventory[slot] != null : false;
return slot != 0 ? inventory[slot] != null : false;
}
}