From 4c9317c9fbbb4f2107c754032646bc905955c727 Mon Sep 17 00:00:00 2001 From: Jake Potrebic Date: Tue, 21 Jun 2022 08:54:52 -0700 Subject: [PATCH] Use non-deprecated super ctor in PaperServerListPingEventImpl (#8029) --- .../0178-Implement-extended-PaperServerListPingEvent.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/server/0178-Implement-extended-PaperServerListPingEvent.patch b/patches/server/0178-Implement-extended-PaperServerListPingEvent.patch index 40b844f964..a86b7fe1a8 100644 --- a/patches/server/0178-Implement-extended-PaperServerListPingEvent.patch +++ b/patches/server/0178-Implement-extended-PaperServerListPingEvent.patch @@ -6,7 +6,7 @@ Subject: [PATCH] Implement extended PaperServerListPingEvent diff --git a/src/main/java/com/destroystokyo/paper/network/PaperServerListPingEventImpl.java b/src/main/java/com/destroystokyo/paper/network/PaperServerListPingEventImpl.java new file mode 100644 -index 0000000000000000000000000000000000000000..f57792d3f883a710c51bc736cff513aca4b75915 +index 0000000000000000000000000000000000000000..2b10ce4ce36e519b757af96cb80921dfc3f09418 --- /dev/null +++ b/src/main/java/com/destroystokyo/paper/network/PaperServerListPingEventImpl.java @@ -0,0 +1,31 @@ @@ -25,7 +25,7 @@ index 0000000000000000000000000000000000000000..f57792d3f883a710c51bc736cff513ac + 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; + }