Open FabioZumbi12 opened 7 years ago
If you go out of the protected area and try to place the backpack (even if you don't see it), does it place it? Or is it gone forever?
Note to self: At ProxyCommon.java:181, replace with PlayerInteractionManager.processRightClick
?
Yeah, out of protection works fine from hand and from our back. I do not know much about MODs, on truth i am the dev of that protection plugin.
Maybe if you use the same event as when we try to get on the floor while the bag is in our hand.
Let me clarify the question, since it's important: If you placed your backpack in a protected area and it disappears, is this only a visual glitch, or can you later place it down outside a protected area and everything is fine?
(sorry, i am portuguese and may i have not expressed me corrrectly)
Nono, It disapear(and i cant get back, not a visual glitch) from my back and from my hand, and from ground, but only if the Backpack is on my back. If the BP is on my hand theres no bugs.
@JBYoshi informed me that this might be partially an issue in Sponge: SpongePowered/SpongeCommon#1417
Since this is Sponge this is not highest priority. I will eventually come back to this and fix placing / accessing in restricted areas proper. For example, Adventure mode is also broken with backpacks afaik.
Oh, thanks for fast reply <3
Seems Sponge team already is working to fix this ^^ Waiting a fix.
It should be fixed on the latest Sponge builds.
@FabioZumbi12 Is the issue fixed for you now?
This is also an issue with FTB Utilities claimed/protected chunks. Accidentally shift-clicked on someone else's land and backpack popped out of existence entirely with all my stuff. Would love an op-only command that could restore someone's last-worn backpack or something.
Which is kind of annoying because you'd expect at least FTB to hook into the Vanilla functions and make them return false upon testing whether a player has the permission / ability to place a block somewhere.
Is the backpack truly gone or does it just visually disappear from your back? I can't imagine it would allow the block to be placed only to silently remove it after. So, does relogging fix it?
It seemed to be truly gone. Couldn't open with keybind, wasn't visually on back, couldn't shift-place in my own land anymore, etc. I didn't try relogging because I ended up just rolling back to the last backup I had and manually adding the ability for all ranks to edit backpacks on claims to "resolve" the issue. Just added this to the FTBU ranks file for all ranks:
ftbutilities.claims.block.edit.wearablebackpacks.backpack: true
That's still not ideal since it's not a default setting and allows unintended theft from players who want to use backpacks as chests or decoration but works otherwise.
This same bug happens with redprotect protected areas.
Hi, I using WearableBackpacks on my Sponge server and when i try to put my backpack on a protect area not owned by me (using Sponge plugin) the backpack disapears, but only if the backpack is on my back.
No problems if i try to place from my hand. I cant place and didnt disapear, like expected ;)