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:
Tux 2014-08-16 19:05:10 -04:00 committed by md_5
parent f9f9c3213d
commit 5e0aa2e60d

View File

@ -25,5 +25,5 @@ public class ServerDisconnectEvent extends Event
* Server the player is disconnecting from.
*/
@NonNull
private ServerInfo target;
private final ServerInfo target;
}