Remove redundant casts, unnecessary object creation, and string ==

This commit is contained in:
mezz committed 2016-10-21 00:32:06 -07:00
1 parent 100784b51b
commit a4cd13282a
57 files changed
+180 -156

No files matched your search

@@ -55,7 +55,7 @@ public class WindowPress extends Window {
logic.alterProgress(2.0f);
} else if (side == Side.SERVER && name.equals("clear-fruit")) {
logic.setProgress(0.0f);
this.getInventory().setInventorySlotContents(Press.slotCurrent, (ItemStack) null);
this.getInventory().setInventorySlotContents(Press.slotCurrent, null);
}
}
}