mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-03 06:40:19 +08:00
24 lines
1.3 KiB
Diff
24 lines
1.3 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Mariell Hoversholm <proximyst@proximyst.com>
|
|
Date: Tue, 16 Mar 2021 16:56:35 +0100
|
|
Subject: [PATCH] fixup! Improved Watchdog Support
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
|
|
index 22bde395939f97086e411cef190bb2b1e7ede79a..8a1ff1000f82a590b293e8892a34484df068093c 100644
|
|
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
|
|
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
|
|
@@ -316,9 +316,9 @@ public class Main {
|
|
tryPreloadClass("com.destroystokyo.paper.event.player.PlayerConnectionCloseEvent");
|
|
tryPreloadClass("com.destroystokyo.paper.event.entity.EntityRemoveFromWorldEvent");
|
|
// Minecraft, seen during saving
|
|
- tryPreloadClass("net.minecraft.server.LightEngineLayerEventListener$Void");
|
|
- tryPreloadClass("net.minecraft.server.LightEngineLayerEventListener");
|
|
- tryPreloadClass("net.minecraft.server.ExceptionSuppressor");
|
|
+ tryPreloadClass("net.minecraft.world.level.lighting.LightEngineLayerEventListener$Void");
|
|
+ tryPreloadClass("net.minecraft.world.level.lighting.LightEngineLayerEventListener");
|
|
+ tryPreloadClass("net.minecraft.util.ExceptionSuppressor");
|
|
// Paper end
|
|
}
|
|
}
|