Some reformat code for 1.11.2 source (#84)

* Optimized imports

* Some code reformat

* Some refactoring and code reformat

* Some code reformat
This commit is contained in:
Alexander Kornilov authored and mezz committed 2017-06-01 00:48:08 -07:00
1 parent 886c36a308
commit c3809fbc27
508 files changed
+6677 -6238

No files matched your search

@@ -21,6 +21,14 @@ public class WindowDistillery extends Window {
super(224, 192, player, inventory, side);
}
@Nullable
public static Window create(final EntityPlayer player, @Nullable final IInventory inventory, final Side side) {
if (inventory == null) {
return null;
}
return new WindowDistillery(player, inventory, side);
}
@Override
protected AbstractMod getMod() {
return ExtraTrees.instance;
@@ -45,12 +53,4 @@ public class WindowDistillery extends Window {
new ControlPlayerInventory(this);
new ControlErrorState(this, x + 21, 62);
}
@Nullable
public static Window create(final EntityPlayer player, @Nullable final IInventory inventory, final Side side) {
if (inventory == null) {
return null;
}
return new WindowDistillery(player, inventory, side);
}
}