API now compiles successfully
This commit is contained in:
@@ -3257,7 +3257,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ // Paper start
|
||||
+ public ServerListPingEvent(@NotNull final InetAddress address, @NotNull final net.kyori.adventure.text.Component motd, final int numPlayers, final int maxPlayers) {
|
||||
+ super(true);
|
||||
+ Validate.isTrue(numPlayers >= 0, "Cannot have negative number of players online", numPlayers);
|
||||
+ Preconditions.checkArgument(numPlayers >= 0, "Cannot have negative number of players online (%s)", numPlayers);
|
||||
+ this.address = address;
|
||||
this.motd = motd;
|
||||
+ this.numPlayers = numPlayers;
|
||||
|
||||
Reference in New Issue
Block a user