Discussion in 'Plugin Development' started by ArthurMaker, Mar 15, 2014.
Is there any way to do it or create an event that makes it?
I'm not to sure if there is any way to directly check it, but you could check if the player is using right click with PlayerInteractEvent, then see if the item in their hand is a sword. Just a suggestion.
Thank you so much!
Is it possible to cancel this?
So, I mean a player cannot block when rightclicking.
##EDIT: Solved. Used PlayerInteractEvent & Action + e.setCancelled(true);
Sure. Just use a scheduler.
Separate names with a comma.