Post cherry-pick updates

This commit is contained in:
Justin Vitale 2021-04-22 22:05:24 +10:00 committed by modmuss50
parent 15f5392a62
commit ffa75aba8d
2 changed files with 2 additions and 2 deletions

View file

@ -165,7 +165,7 @@ public class AutoCraftingTableBlockEntity extends PowerAcceptorBlockEntity
if (!hasOutputSpace(recipe.getOutput(), OUTPUT_SLOT)) return false;
DefaultedList<ItemStack> remainingStacks = recipe.getRemainingStacks(crafting);
DefaultedList<ItemStack> remainingStacks = recipe.getRemainder(crafting);
for (ItemStack stack : remainingStacks){
if (!stack.isEmpty() && !hasRoomForExtraItem(stack)) return false;
}

View file

@ -135,7 +135,7 @@ public class DebugToolItem extends Item {
MutableText s = new LiteralText("BlockEntity Tags:").formatted(Formatting.GREEN);
BlockDataObject bdo = new BlockDataObject(blockEntity, blockEntity.getPos());
s.append(bdo.getTag().toText());
s.append(bdo.getNbt().toString());
return s;
}