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