public List<String> getWailaBody(ItemStack itemStack, List<String> currenttip, IWailaDataAccessor accessor, IWailaConfigHandler config) {
if (!config.getConfig("capability.inventoryinfo") || accessor.getTileEntity() == null || accessor.getTileEntity().getClass() == TileEntityFurnace.class)
return currenttip;
if (accessor.getNBTData().hasKey("handler")) {
int handlerSize = accessor.getNBTData().getInteger("handlerSize");
<BUG>IItemHandler itemHandler = new ItemStackHandler(handlerSize);

populateInv((ItemStackHandler) itemHandler, accessor.getNBTData().getTagList("handler", 10));

List<ItemStack> toRender = new ArrayList<ItemStack>();
for (int slot = 0; slot < itemHandler.getSlots(); slot++) {

ItemStack stack = itemHandler.getStackInSlot(slot);
</BUG>
if (stack == null)

public List<String> getWailaBody(ItemStack itemStack, List<String> currenttip, IWailaDataAccessor accessor, IWailaConfigHandler config) {
if (!config.getConfig("capability.inventoryinfo") || accessor.getTileEntity() == null || accessor.getTileEntity().getClass() == TileEntityFurnace.class)
return currenttip;
if (accessor.getNBTData().hasKey("handler")) {
int handlerSize = accessor.getNBTData().getInteger("handlerSize");
ItemStackHandler itemHandler = new ItemStackHandler();
itemHandler.setSize(handlerSize);
InventoryUtils.populateInv(itemHandler, accessor.getNBTData().getTagList("handler", 10));
String renderString = "";
int drawnCount = 0;
for (int i = 0; i < itemHandler.getSlots(); i++) {
ItemStack stack = itemHandler.getStackInSlot(i);
if (stack == null)
