if(pos1 == null || pos2 == null)
{
sender.sendMessage("Positions were not set. cant continue");
return true;
}
World w = pos1.getWorld();
if(args.length != 1 && args.length != 2){
return false;
}
if(pos1.getWorld() != pos2.getWorld()){
sender.sendMessage("both positions have to be in the same world");
return true;
}
new CinemaSaver(args, w, sender, false, savePath, pos1, pos2).start();
return true;
}
//csavedelta file index
else if(cmd.getName().equalsIgnoreCase("csavedelta")){
if(pos1 == null || pos2 == null)
{
sender.sendMessage("Positions were not set. cant continue");
return true;
}
World w = pos1.getWorld();
if(args.length != 1 && args.length != 2){
return false;
}
if(pos1.getWorld() != pos2.getWorld()){
sender.sendMessage("both positions have to be in the same world");