mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-20 23:46:57 +01:00
SPIGOT-5245: Unneeded cast to WorldNBTStorage in CraftWorld#getWorldFolder
This commit is contained in:
parent
e5e8eec2cf
commit
1ec1b05e2a
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue