mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-10 12:50:28 +01:00
SPIGOT-5245: Unneeded cast to WorldNBTStorage in CraftWorld#getWorldFolder
This commit is contained in:
parent
e5e8eec2cf
commit
1ec1b05e2a
@ -1778,7 +1778,7 @@ public class CraftWorld implements World {
|
||||
|
||||
@Override
|
||||
public File getWorldFolder() {
|
||||
return ((WorldNBTStorage) world.getDataManager()).getDirectory();
|
||||
return world.getDataManager().getDirectory();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user