Add API events system

This commit is contained in:
ajgeiss0702
2023-06-08 17:00:49 -07:00
committed by ajgeiss0702
parent a6a7ad00d0
commit 01a5fd14e1
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();