23 lines
647 B
Java
23 lines
647 B
Java
/*
|
|
* This file is part of ComputerCraft - http://www.computercraft.info
|
|
* Copyright Daniel Ratcliffe, 2011-2017. Do not distribute without permission.
|
|
* Send enquiries to dratcliffe@gmail.com
|
|
*/
|
|
|
|
package dan200.computercraft.server.proxy;
|
|
|
|
import dan200.computercraft.shared.proxy.ComputerCraftProxyCommon;
|
|
import net.minecraft.world.World;
|
|
import net.minecraftforge.common.DimensionManager;
|
|
|
|
import java.io.File;
|
|
|
|
public class ComputerCraftProxyServer extends ComputerCraftProxyCommon
|
|
{
|
|
@Override
|
|
public File getWorldDir( World world )
|
|
{
|
|
return DimensionManager.getWorld( 0 ).getSaveHandler().getWorldDirectory();
|
|
}
|
|
}
|