Update Mantle to 1.11.2 + update 1.11 code to match master (1.10.2).

This commit is contained in:
alexbegt committed 2017-03-06 21:00:05 -05:00
1 parent eb1e9f9926
commit e4917779f9
35 files changed
+151 -70

No files matched your search

@@ -195,7 +195,7 @@ public class ContainerMultiModule<T extends TileEntity & IInventory> extends Bas
}
protected boolean moveToTileInventory(ItemStack itemstack) {
if(itemstack == ItemStack.EMPTY || itemstack.getCount() == 0) {
if(itemstack.isEmpty() || itemstack.getCount() == 0) {
return false;
}
@@ -207,7 +207,7 @@ public class ContainerMultiModule<T extends TileEntity & IInventory> extends Bas
}
protected boolean moveToPlayerInventory(ItemStack itemstack) {
if(itemstack == ItemStack.EMPTY || itemstack.getCount() == 0) {
if(itemstack.isEmpty() || itemstack.getCount() == 0) {
return false;
}
@@ -216,7 +216,7 @@ public class ContainerMultiModule<T extends TileEntity & IInventory> extends Bas
}
protected boolean moveToAnyContainer(ItemStack itemstack, Collection<Container> containers) {
if(itemstack == ItemStack.EMPTY || itemstack.getCount() == 0) {
if(itemstack.isEmpty() || itemstack.getCount() == 0) {
return false;
}
@@ -236,7 +236,7 @@ public class ContainerMultiModule<T extends TileEntity & IInventory> extends Bas
protected boolean refillAnyContainer(ItemStack itemstack, Collection<Container> containers) {
if(itemstack == ItemStack.EMPTY || itemstack.getCount() == 0) {
if(itemstack.isEmpty() || itemstack.getCount() == 0) {
return false;
}