Hidendra / LWC

Lightweight Protection for Chests, Furnaces, Dispensers, and more for the Minecraft server mod Bukkit
Other
167 stars 123 forks source link

Protection persists even when block noexists #458

Open JumanjiCraft opened 11 years ago

JumanjiCraft commented 11 years ago

No matter what version of LWC I'm using now, all LWC protections placed stay locked even after the block is removed. Even if I run the command /lwc admin cleanup it still persists to exist.

Example: I place a chest, chest is auto locked. I remove the chest, the block where the chest was is still protected by LWC. Doing /lwc admin cleanup does not remove the protection. The only way TO remove the protection is to place a block where the protected block was and do /unlock

Hidendra commented 11 years ago

Do they still exist if you restart the server? The protection cache may be stale. optionally instead of restarting the server you can try /lwc admin cache clear

JumanjiCraft commented 11 years ago

Yes, it persists through restart and through a cache clear.

https://www.box.com/s/ei1816x0pbrs1v0bz3za

JumanjiCraft commented 11 years ago

My mistake, no if I do a cache clear the protection itself goes away. But the issue itself persists. Sorry about that.

JumanjiCraft commented 11 years ago

Is there a reason that the cache gets stuck?