Add API events system

This commit is contained in:
ajgeiss0702
2023-06-08 17:00:49 -07:00
parent 2414c698ed
commit 0899bf88ed
17 changed files with 306 additions and 6 deletions
@@ -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();