PreciousStones

PreciousStones

269k Downloads

prevent-item-frame-take flag no longer works

intangir opened this issue ยท 6 comments

commented

i think this mustve worked before, no one stole my item frame items previously, but now it doesn't

it could be a bukkit bug for all i know, but i have a field with that property, and others can easily punch the items out of the field frames ;(

commented

Using PS 9.6.5 on spigot 1.7.2-r0.3 #1219

We're having the same problem as above. After updating from 1.6.4 unallowed players are able to take the items from item frames in PS fields with the prevent-item-frame-take flag enabled. Previously players were blocked by PS from doing this.

commented

Try the latest build, maybe its a version mismatch with R0.3.

commented

@phaed420 Vanilla 1.7.x introduced a new feature where you can remove items from an item frame simply by punching the item frame. Before 1.7, the item frame had to be broken to remove the items. This resulted in the previous way to protect against items within item frames being broken to no longer work. Bukkit has implemented an event call here to allow plugins to tie into the this event to protect the items inside the frames. See this commit for more detail:
Bukkit/CraftBukkit@244c5e6

Latest build of PreciousStones (b364) does not stop items from being taken out of item frames.

commented

Haven't had time to test this, if you guys get to it before I do and it is not working let me know. Thanks.

commented

Seems to test fine. Thanks for the fix!

commented

thanks phaed