WorldGuard

WorldGuard

8M Downloads

Interact flag with Shield and other items in PvP

LadyCailinBot opened this issue ยท 3 comments

commented

WORLDGUARD-4118 - Reported by batica

I create region without any flag on it and teleport 2 players inside it. I give players Shield and they start to PvP. Player A who tries using Shield, by clicking right click with it onto Player B gets message "You cannot use that here", but can still hide behind it and protect himself. That also happens when you try eating golden apples or similar (only if you click directly on opposite player). Why I tried to do is find which flag is causing this, even though no flags are set on region. If you set flag "interact" to "allow" that will fix it but cause other problems. There are no other regions on server and also there are no flags on "global" region.

Can you please look into this and fix it?

commented

Comment by wizjany

this is correct behavior as far as i can tell. interacting with other entities is protected by default.
perhaps we need a separate entity-interact flag (i.e. separate from normal interact flag?)

commented

Comment by batica

But why isn't it blocked then? It only tries to block it but doesn't do it. I think that this isn't right behavior since it spams message but doesn't do anything...

commented

Comment by wizjany

to be clear, the message is about interacting with the other player, not about using the item in your hand. these are two separate things.