Various fixes

Fixed images rendering incorrectly in the books and made the drawbridge
accept only real blocks(and only opaque blocks for camo)
This commit is contained in:
Arthur Uzulin committed 2013-07-27 20:21:29 +10:00
1 parent 81afd9c00e
commit 770c72be39
6 files changed
+22 -12

No files matched your search

@@ -1,6 +1,7 @@
package tconstruct.inventory;
import tconstruct.blocks.logic.DrawbridgeLogic;
import tconstruct.landmine.inventory.SlotOpaqueBlocksOnly;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.Container;
@@ -19,7 +20,7 @@ public class DrawbridgeContainer extends Container
this.logic = logic;
this.addSlotToContainer(new DrawbridgeSlot(logic, 0, 80, 36, logic));
this.addSlotToContainer(new Slot(logic, 1, 35, 36));
this.addSlotToContainer(new SlotOpaqueBlocksOnly(logic, 1, 35, 36));
/* Player inventory */
for (int column = 0; column < 3; column++)