By registering with us, you'll be able to discuss, share and private message with other members of our community.
Sign up now!I use:What would be the best way to detect whether or not the player is in combat?
@SlashnHax @Eagles13 @Aria @Aidden
How about Player#getTarget().getTarget() == Players.getLocal() ?
(Just a thought)
If the players' target's target is the player then they are in combat with eachother, right?
I read this as: player is following another player, player is trading another player, player is trading an npc, player is banking, player has a pet catI use:
if player has target || player is targetted
the downfall of vague pseudocode ayeI read this as: player is following another player, player is trading another player, player is trading an npc, player is banking, player has a pet cat
We use essential cookies to make this site work, and optional cookies to enhance your experience.