GuiRefinery code cleanup

This commit is contained in:
CovertJaguar 2013-07-17 16:25:25 -07:00
parent 9cb75de1df
commit e3e9404b8a

View file

@ -74,13 +74,7 @@ public class GuiRefinery extends GuiAdvancedInterface {
int position = getSlotAtLocation(i - cornerX, j - cornerY);
AdvancedSlot slot = null;
if (position != -1 && position != 2) {
slot = slots[position];
}
if (slot != null) {
if (position >= 0 && position < 2) {
FluidStack liquid = FluidContainerRegistry.getFluidForFilledItem(mc.thePlayer.inventory.getItemStack());
if (liquid == null)