From 326409d61fb9dbf6f5b38d259e2b8d706c54cd6c Mon Sep 17 00:00:00 2001 From: Nathan Stoltenberg Date: Thu, 24 Mar 2016 18:22:00 -0500 Subject: [PATCH] Reduce delay in resetting name when refreshing. --- pom.xml | 4 ++-- src/main/java/net/md_5/itag/iTag.java | 9 +-------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/pom.xml b/pom.xml index a2cb188..9448131 100644 --- a/pom.xml +++ b/pom.xml @@ -3,8 +3,8 @@ 4.0.0 net.md-5 - iTag - 1.1.5-SNAPSHOT + iTag-API + 1.1.7-SNAPSHOT jar iTag diff --git a/src/main/java/net/md_5/itag/iTag.java b/src/main/java/net/md_5/itag/iTag.java index ca576cd..f726411 100644 --- a/src/main/java/net/md_5/itag/iTag.java +++ b/src/main/java/net/md_5/itag/iTag.java @@ -165,16 +165,9 @@ public void refreshPlayer(final Player player, final Player forWhom) public void run() { forWhom.hidePlayer( player ); - } - }, 1); - getServer().getScheduler().scheduleSyncDelayedTask( this, new Runnable() - { - public void run() - { forWhom.showPlayer( player ); } - }, 5); - + }, 0); } }