Implemented getPlayer of OfflinePlayer

By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
CraftBukkit/Spigot
2011-10-11 14:52:07 +01:00
parent e2369da502
commit 6f832c669f
2 changed files with 18 additions and 1 deletions

View File

@@ -548,4 +548,8 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
return result;
}
public Player getPlayer() {
return this;
}
}