Comment out the book until I can fix it.
This commit is contained in:
parent
14fe3e34fb
commit
1e7ee30228
|
|
@ -24,7 +24,7 @@ public class DirtChestTileEntity extends GenericIronChestTileEntity {
|
||||||
super(IronChestsTileEntityTypes.DIRT_CHEST.get(), IronChestsTypes.DIRT, IronChestsBlocks.DIRT_CHEST::get);
|
super(IronChestsTileEntityTypes.DIRT_CHEST.get(), IronChestsTypes.DIRT, IronChestsBlocks.DIRT_CHEST::get);
|
||||||
|
|
||||||
if (!bookDataCreated) {
|
if (!bookDataCreated) {
|
||||||
createBookData();
|
//createBookData();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -36,11 +36,12 @@ public class DirtChestTileEntity extends GenericIronChestTileEntity {
|
||||||
@Override
|
@Override
|
||||||
public void wasPlaced(LivingEntity entityLivingBase, ItemStack itemStack) {
|
public void wasPlaced(LivingEntity entityLivingBase, ItemStack itemStack) {
|
||||||
if (!(itemStack.hasTag() && itemStack.getTag().getBoolean("been_placed"))) {
|
if (!(itemStack.hasTag() && itemStack.getTag().getBoolean("been_placed"))) {
|
||||||
this.setInventorySlotContents(0, dirtChest9000GuideBook.copy());
|
//TODO FIX BOOK
|
||||||
|
//this.setInventorySlotContents(0, dirtChest9000GuideBook.copy());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!bookDataCreated) {
|
if (!bookDataCreated) {
|
||||||
createBookData();
|
//createBookData();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue