[ANGRY PIXEL] The Betweenlands

[ANGRY PIXEL] The Betweenlands

24M Downloads

Weedwood crafting table display doesn't clear items correctly

JoshieGemFinder opened this issue ยท 0 comments

commented

Versions

Betweenlands version:

The Betweenlands v3.9.6

Forge version:

forge 1.12.2 - 14.23.5.2860

Singleplayer or Multiplayer:

Singleplayer (harder to notice) & Multiplayer (all server architectures)

Installed mods:

The Betweenlands v3.9.6
JEI

Description of the problem

How to reproduce:

  1. Place weedwood crafting table
  2. Have another account craft something in it (do not have the inventory open when it is crafted)
  3. Look at the items rendered on top

Expected result:

New items in table would update when the items are taken out of the table

Actual result:

Items that are reduced to empty slots will not be cleared from the table, items that are remainders from the recipe (such as the buckets in a cake recipe) will update correctly.

Cause:

The utils do not write empty slots to NBT; when the NBT is read on the client, items that should be now empty slots are not replaced with an empty slot.
Recommended fix: clear the item list when reading items from an update packet.