SPIGOT-5245: Unneeded cast to WorldNBTStorage in CraftWorld#getWorldFolder

This commit is contained in:
md_5 2019-08-05 20:20:38 +10:00
parent e5e8eec2cf
commit 1ec1b05e2a

View File

@ -1778,7 +1778,7 @@ public class CraftWorld implements World {
@Override
public File getWorldFolder() {
return ((WorldNBTStorage) world.getDataManager()).getDirectory();
return world.getDataManager().getDirectory();
}
@Override