Spinnery: Forge [Discotinued]

Spinnery: Forge [Discotinued]

78 Downloads

Lock-ness is only polled for PICKUP_ALL

Draylar opened this issue ยท 2 comments

commented

Lockness monster

Version: 1.15.2
Issue Description: ** isLocked is only polled for PICKUP_ALL in BaseContainer, which means most actions work regardless of whether or not a slot is locked.
Replication:

  1. create a simple container
  2. add the following code in constructor
for (WAbstractWidget widget : mainInterface.getWidgets()) {
    if (widget instanceof WSlot) {
        ((WSlot) widget).setLocked(true);
    }
}
  1. attempt to interact with any slot in the inventory
commented

fixed in 1.15.2

1.16.3 soon

commented

done