diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index 6fd242b13e..a880fc85d4 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -1778,7 +1778,7 @@ public class CraftWorld implements World { @Override public File getWorldFolder() { - return ((WorldNBTStorage) world.getDataManager()).getDirectory(); + return world.getDataManager().getDirectory(); } @Override