Merge pull request #147 from basicsensei/1.6.x

fix #145 for 1.6.x branch (thanks)
This commit is contained in:
Brett Flannigan 2012-07-16 14:06:36 -07:00
commit ce1cdbbcbb

View File

@ -9,7 +9,7 @@ public class PlayerEntity extends Entity
{ {
public Player getPlayer() public Player getPlayer()
{ {
return Bukkit.getPlayer(this.getId()); return Bukkit.getPlayerExact(this.getId());
} }
public boolean isOnline() public boolean isOnline()