mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-26 20:46:59 +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
|
@Override
|
||||||
public File getWorldFolder() {
|
public File getWorldFolder() {
|
||||||
return ((WorldNBTStorage) world.getDataManager()).getDirectory();
|
return world.getDataManager().getDirectory();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user