From 1ec1b05e2a808326e9acbfcc3ffbdbdb4d4328c7 Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 5 Aug 2019 20:20:38 +1000 Subject: [PATCH] SPIGOT-5245: Unneeded cast to WorldNBTStorage in CraftWorld#getWorldFolder --- src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index 6fd242b13e..a880fc85d4 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/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