Implemented world.getWorldFolder
By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
package org.bukkit.craftbukkit;
|
package org.bukkit.craftbukkit;
|
||||||
|
|
||||||
import com.google.common.collect.MapMaker;
|
import com.google.common.collect.MapMaker;
|
||||||
|
import java.io.File;
|
||||||
import org.bukkit.craftbukkit.entity.*;
|
import org.bukkit.craftbukkit.entity.*;
|
||||||
import org.bukkit.entity.*;
|
import org.bukkit.entity.*;
|
||||||
import org.bukkit.entity.Entity;
|
import org.bukkit.entity.Entity;
|
||||||
@@ -893,4 +894,8 @@ public class CraftWorld implements World {
|
|||||||
|
|
||||||
return this.getUID() == other.getUID();
|
return this.getUID() == other.getUID();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public File getWorldFolder() {
|
||||||
|
return ((PlayerNBTManager)world.q()).a();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user