1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-18 19:24:10 +01:00

Use non-deprecated super ctor in PaperServerListPingEventImpl ()

This commit is contained in:
Jake Potrebic 2022-06-21 08:54:52 -07:00
parent 95e9506512
commit 4d6659b9ff

View file

@ -25,7 +25,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ private final MinecraftServer server;
+
+ PaperServerListPingEventImpl(MinecraftServer server, StatusClient client, int protocolVersion, @Nullable CachedServerIcon icon) {
+ super(client, server.getMotd(), server.previewsChat(), server.getPlayerCount(), server.getMaxPlayers(),
+ super(client, server.server.motd(), server.previewsChat(), server.getPlayerCount(), server.getMaxPlayers(),
+ server.getServerModName() + ' ' + server.getServerVersion(), protocolVersion, icon);
+ this.server = server;
+ }