fix shift not locking items into place (#1663)

This commit is contained in:
Marlo Greisser authored and GitHub committed 2026-09-28 12:54:00 +00:00
1 parent 711c0dcb0a
commit b48d6d6ad8
1 file changed
+3 -1
+3 -1
View File
@@ -205,8 +205,10 @@ public class ItemRepo implements IDisplayRepo {
IAEStack<?> entry = this.view.get(i);
IAEStack<?> serverEntry = this.list.findPrecise(entry);
IAEStack<?> pinsEntry = visiblePins.findPrecise(entry);
if (serverEntry == null || pinsEntry != null) {
if (pinsEntry != null) {
this.view.remove(i);
} else if (serverEntry == null) {
entry.reset();
} else {
this.view.set(i, serverEntry);
}