mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2026-06-24 19:56:42 +00:00
+7
-1
@@ -23,10 +23,12 @@ import java.util.UUID;
|
||||
@ToString
|
||||
public class PlayerChangedServerNetworkEvent extends Event {
|
||||
private final UUID uuid;
|
||||
private final String previousServer;
|
||||
private final String server;
|
||||
|
||||
public PlayerChangedServerNetworkEvent(UUID uuid, String server) {
|
||||
public PlayerChangedServerNetworkEvent(UUID uuid, String previousServer, String server) {
|
||||
this.uuid = uuid;
|
||||
this.previousServer = previousServer;
|
||||
this.server = server;
|
||||
}
|
||||
|
||||
@@ -37,4 +39,8 @@ public class PlayerChangedServerNetworkEvent extends Event {
|
||||
public String getServer() {
|
||||
return server;
|
||||
}
|
||||
|
||||
public String getPreviousServer() {
|
||||
return previousServer;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user