FIX: Steve skin hand, containers open in creative, crash when downfalls is nullptr, build on android (hope)

This commit is contained in:
2026-07-21 14:43:37 +02:00
parent d7a51b09f1
commit 9a743b9aea
11 changed files with 42 additions and 22 deletions

View File

@@ -329,7 +329,10 @@ bool ChestScreen::handleAddItem(FillingContainer* from, FillingContainer* to, in
added = (takenItem.count != wantedCount);
if (added) {
item->count -= (wantedCount - takenItem.count);
if (!minecraft->isCreativeMode()) {
item->count -= (wantedCount - takenItem.count);
}
std::vector<int> changed;
std::vector<const ItemInstance*> items = getItems(toPane);
differ.getDiff(items, changed);