From 1a31f9d75f3e3b988618ad76aea312a0f427be83 Mon Sep 17 00:00:00 2001 From: Heliosares Date: Thu, 18 Jul 2024 15:24:32 -0400 Subject: [PATCH] Add world name 'void' to activity spawn list --- .../java/dev/heliosares/auxprotect/spigot/AuxProtectSpigot.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dev/heliosares/auxprotect/spigot/AuxProtectSpigot.java b/src/main/java/dev/heliosares/auxprotect/spigot/AuxProtectSpigot.java index 0a972a2..37420bf 100644 --- a/src/main/java/dev/heliosares/auxprotect/spigot/AuxProtectSpigot.java +++ b/src/main/java/dev/heliosares/auxprotect/spigot/AuxProtectSpigot.java @@ -421,7 +421,7 @@ public final class AuxProtectSpigot extends JavaPlugin implements IAuxProtect { } if (logActivity && config.isPrivate()) { - if (apPlayer.getPlayer().getWorld().getName().equals("flat") && config.isPrivate()) { + if (Set.of("flat", "void").contains(apPlayer.getPlayer().getWorld().getName()) && config.isPrivate()) { apPlayer.addActivity(Activity.IN_SPAWN); }