mirror of
https://github.com/GTNewHorizons/Applied-Energistics-2-Unofficial.git
synced 2026-10-25 20:22:23 +00:00
fix shift not locking items into place (#1663)
This commit is contained in:
1 parent
711c0dcb0a
commit
b48d6d6ad8
1 file changed
+3
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user