Merge remote-tracking branch 'remotes/origin/1.7.10' into 1.8.9
# Conflicts: # src/main/java/techreborn/compat/fmp/ForgeMultipartCompat.java # src/main/java/techreborn/tiles/TileBlastFurnace.java
This commit is contained in:
commit
2a617919d9
3 changed files with 6 additions and 5 deletions
|
@ -320,7 +320,7 @@ public class MultiBlockCasing extends RectangularMultiblockControllerBase {
|
|||
Block block = world.getBlockState(new BlockPos(x, y, z)).getBlock();
|
||||
|
||||
|
||||
if (block.getUnlocalizedName().equals("tile.air")) {
|
||||
if (block.isAir(world, x, y, z)) {
|
||||
|
||||
} else if (block.getUnlocalizedName().equals("tile.lava")) {
|
||||
hasLava = true;
|
||||
|
|
|
@ -19,7 +19,6 @@ import reborncore.common.misc.Location;
|
|||
import reborncore.common.multiblock.IMultiblockPart;
|
||||
import reborncore.common.util.Inventory;
|
||||
import techreborn.api.recipe.RecipeCrafter;
|
||||
import techreborn.blocks.BlockMachineBase;
|
||||
import techreborn.blocks.BlockMachineCasing;
|
||||
import techreborn.config.ConfigTechReborn;
|
||||
import techreborn.init.ModBlocks;
|
||||
|
@ -220,8 +219,8 @@ public class TileBlastFurnace extends TilePowerAcceptor implements IWrenchable,
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean canInsertItem(int slotIndex, ItemStack itemStack, EnumFacing side) {
|
||||
if (slotIndex >= 1)
|
||||
public boolean canInsertItem(int slotIndex, ItemStack itemStack, int side) {
|
||||
if (slotIndex >= 2)
|
||||
return false;
|
||||
return isItemValidForSlot(slotIndex, itemStack);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue