mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-25 10:07:38 +01:00
Finalize the ServerDisconnectEvent target field.
There is no good reason for it to be mutable in the first place, considering that the event instance is not used after the method is called.
This commit is contained in:
parent
f9f9c3213d
commit
5e0aa2e60d
@ -25,5 +25,5 @@ public class ServerDisconnectEvent extends Event
|
||||
* Server the player is disconnecting from.
|
||||
*/
|
||||
@NonNull
|
||||
private ServerInfo target;
|
||||
private final ServerInfo target;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user