GuiRefinery code cleanup
This commit is contained in:
parent
9cb75de1df
commit
e3e9404b8a
1 changed files with 1 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue