Add API events system
This commit is contained in:
+6
@@ -122,6 +122,12 @@ public class BungeePlayer implements AdaptedPlayer, Audience {
|
||||
return handle.getServer().getInfo().getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public AdaptedServer getCurrentServer() {
|
||||
if(handle.getServer() == null) return null;
|
||||
return new BungeeServer(handle.getServer().getInfo());
|
||||
}
|
||||
|
||||
@Override
|
||||
public UUID getUniqueId() {
|
||||
return handle.getUniqueId();
|
||||
|
||||
Reference in New Issue
Block a user