tmp: Disable check for incompatible mod

With this check we get a runtime crash because it can't find the class.
We don't have this mod anyways so the check isn't needed.
(TODO: Find out why this error occurs!)
This commit is contained in:
Sebastian Beckmann
2025-11-12 12:31:53 +01:00
parent b8275d81c5
commit 4f28d526c6

View File

@@ -1,6 +1,6 @@
package tk.alex3025.headstones.listeners;
import com.bgsoftware.wildloaders.api.npc.ChunkLoaderNPC;
//import com.bgsoftware.wildloaders.api.npc.ChunkLoaderNPC;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
@@ -16,7 +16,7 @@ public class PlayerDeathListener extends ListenerBase {
Player player = event.getPlayer();
// Check if the player is a chunk loader from the WildLoaders plugin
if (player instanceof ChunkLoaderNPC) return;
//if (player instanceof ChunkLoaderNPC) return;
boolean keepExperience = !event.getKeepLevel() && player.hasPermission("headstones.keep-experience");
boolean keepInventory = !event.getKeepInventory() && player.hasPermission("headstones.keep-inventory");