diff --git a/Spigot-API-Patches/Add-GS4-Query-event.patch b/Spigot-API-Patches/Add-GS4-Query-event.patch index 1812acc635..35b6c6571d 100644 --- a/Spigot-API-Patches/Add-GS4-Query-event.patch +++ b/Spigot-API-Patches/Add-GS4-Query-event.patch @@ -6,7 +6,7 @@ Subject: [PATCH] Add GS4 Query event diff --git a/src/main/java/com/destroystokyo/paper/event/server/GS4QueryEvent.java b/src/main/java/com/destroystokyo/paper/event/server/GS4QueryEvent.java new file mode 100644 -index 00000000..2ead0466 +index 00000000..77a19995 --- /dev/null +++ b/src/main/java/com/destroystokyo/paper/event/server/GS4QueryEvent.java @@ -0,0 +0,0 @@ @@ -39,6 +39,7 @@ index 00000000..2ead0466 + private QueryResponse response; + + public GS4QueryEvent(@NotNull QueryType queryType, @NotNull InetAddress querierAddress, @NotNull QueryResponse response) { ++ super(true); // should always be called async + this.queryType = Preconditions.checkNotNull(queryType, "queryType"); + this.querierAddress = Preconditions.checkNotNull(querierAddress, "querierAddress"); + this.response = Preconditions.checkNotNull(response, "response");