Skip to content

Commit

Permalink
Fix players not appearing when updating tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
ataranlen committed Mar 25, 2016
1 parent 326409d commit 0782048
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<modelVersion>4.0.0</modelVersion>

<groupId>net.md-5</groupId>
<artifactId>iTag-API</artifactId>
<version>1.1.7-SNAPSHOT</version>
<artifactId>TagAPI</artifactId>
<version>1.1.8</version>
<packaging>jar</packaging>

<name>iTag</name>
Expand Down Expand Up @@ -43,7 +43,7 @@
<artifactId>ProtocolLib</artifactId>
<version>3.6.5-SNAPSHOT</version>
<scope>system</scope>
<systemPath>D:/civcraftsvn/trunk/lib/ProtocolLib.jar</systemPath>
<systemPath>D:/civcraftsvn/trunk/lib/ProtocolLib 3.6.5.jar</systemPath>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
Expand Down
8 changes: 7 additions & 1 deletion src/main/java/net/md_5/itag/iTag.java
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,15 @@ public void refreshPlayer(final Player player, final Player forWhom)
public void run()
{
forWhom.hidePlayer( player );
}
});
getServer().getScheduler().scheduleSyncDelayedTask( this, new Runnable()
{
public void run()
{
forWhom.showPlayer( player );
}
}, 0);
}, 2);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: TagAPI
version: 1.1.4
version: 1.1.8
description: Actually is iTag - Name tag API which is backwards compatible with TagAPI
author: md_5

Expand Down

0 comments on commit 0782048

Please sign in to comment.