Skip to content

Commit c12b7f7

Browse files
committed
Add getPlayer(UUID) method on Bukkit
This should have been added years ago
1 parent f534d79 commit c12b7f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/org/bukkit/Bukkit.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ public static Player getPlayer(String name) {
110110
return server.getPlayer(name);
111111
}
112112

113+
public static Player getPlayer(UUID uuid) {return server.getPlayer(uuid);}
114+
113115
public static List<Player> matchPlayer(String name) {
114116
return server.matchPlayer(name);
115117
}

0 commit comments

Comments
 (0)