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

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2019-08-05 20:20:38 +10:00
parent d67f427648
commit aeb3ecc654

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