Use File.separator
This commit is contained in:
parent
0827ea2da0
commit
c7c7b4448f
@ -109,6 +109,11 @@ public class SpawnModule extends MiniPlugin
|
||||
});
|
||||
}
|
||||
|
||||
public void teleportToSpawn(Player player)
|
||||
{
|
||||
player.teleport(_spawn);
|
||||
}
|
||||
|
||||
public boolean isSuitable(Block block)
|
||||
{
|
||||
Block up = block.getRelative(BlockFace.UP);
|
||||
|
@ -40,7 +40,7 @@ import mineplex.core.common.util.UtilShapes;
|
||||
public class SupplyDrop
|
||||
{
|
||||
|
||||
private static final String SCHEMATIC_PATH = "../../update/files/Helicopter.schematic";
|
||||
private static final String SCHEMATIC_PATH = ".." + File.separator + ".." + File.separator + "update" + File.separator + "files" + File.separator + "Helicopter.schematic";
|
||||
private static final int BLADE_LENGTH = 7;
|
||||
|
||||
private Location _destination;
|
||||
|
Loading…
Reference in New Issue
Block a user