mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-17 23:01:01 +01:00
Use non-deprecated super ctor in PaperServerListPingEventImpl (#8029)
This commit is contained in:
parent
95e9506512
commit
4d6659b9ff
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
+ private final MinecraftServer server;
|
+ private final MinecraftServer server;
|
||||||
+
|
+
|
||||||
+ PaperServerListPingEventImpl(MinecraftServer server, StatusClient client, int protocolVersion, @Nullable CachedServerIcon icon) {
|
+ 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);
|
+ server.getServerModName() + ' ' + server.getServerVersion(), protocolVersion, icon);
|
||||||
+ this.server = server;
|
+ this.server = server;
|
||||||
+ }
|
+ }
|
||||||
|
|
Loading…
Reference in a new issue