Action bar every 15 ticks, only if current disguise is main disguise
This commit is contained in:
		| @@ -175,7 +175,7 @@ public abstract class Disguise { | ||||
|             @Override | ||||
|             public void run() { | ||||
|                 if (DisguiseConfig.isNotifyPlayerDisguised() && getEntity() instanceof Player && | ||||
|                         ++actionBarTicks % 20 == 0) { | ||||
|                         ++actionBarTicks % 15 == 0 && DisguiseAPI.getDisguise(getEntity()) == Disguise.this) { | ||||
|                     actionBarTicks = 0; | ||||
|  | ||||
|                     ((Player) getEntity()).spigot().sendMessage(ChatMessageType.ACTION_BAR, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user