StaffPlus icon indicating copy to clipboard operation
StaffPlus copied to clipboard

Silent Chest Opening?

Open Strvm opened this issue 2 years ago • 3 comments

Silent chest opening used to work at some point if I remember correctly? Why was this code commented out? https://github.com/Qballl/StaffPlus/blob/master/StaffPlusCore/src/main/java/net/shortninja/staffplus/server/PacketModifier.java

Strvm avatar Jan 08 '23 15:01 Strvm

It was commented out to remove a dependency to PacketListenerAPI but I don't think an alternative solution is ever implemented.

Edit: Or it was simply buggy, I am not sure but either case seems very plausible. @Qballl Do you remember?

Azoraqua avatar Jan 09 '23 07:01 Azoraqua

I remember it used to work well

Strvm avatar Jan 13 '23 18:01 Strvm

Silent chest opening should still work I made a hackish work around for it. We now cancel the open event and then open a virtual inventory based on the chest and update the real chest upon virtual closing

Qballl avatar Jan 14 '23 02:01 Qballl