diff --git a/core/src/main/java/de/erethon/dungeonsxl/player/DEditPlayer.java b/core/src/main/java/de/erethon/dungeonsxl/player/DEditPlayer.java index 5ab86a84..ba333a85 100644 --- a/core/src/main/java/de/erethon/dungeonsxl/player/DEditPlayer.java +++ b/core/src/main/java/de/erethon/dungeonsxl/player/DEditPlayer.java @@ -63,7 +63,7 @@ public class DEditPlayer extends DInstancePlayer implements EditPlayer { // Permission bridge if (plugin.getPermissionProvider() != null) { for (String permission : plugin.getMainConfig().getEditPermissions()) { - plugin.getPermissionProvider().playerAddTransient(world.getName(), player, permission); + plugin.getPermissionProvider().playerAddTransient(getWorld().getName(), player, permission); } } }