Forgot about unlinking

This commit is contained in:
boy0001 2014-10-15 19:53:28 +11:00
parent 0961671eaf
commit e7d44d5343
4 changed files with 10 additions and 2 deletions

View File

@ -63,4 +63,6 @@ public abstract class PlotManager {
public abstract boolean finishPlotMerge(World world, PlotWorld plotworld, ArrayList<PlotId> plotIds);
public abstract boolean finishPlotUnlink(World world, PlotWorld plotworld, ArrayList<PlotId> plotIds);
}

View File

@ -43,8 +43,7 @@ public class SetBlockFast {
int distance = Bukkit.getViewDistance() + 1;
for (int cx = -distance; cx < distance; cx++) {
for (int cz = -distance; cz < distance; cz++) {
player.getWorld().refreshChunk(player.getLocation().getChunk().getX() + cx, player.getLocation().getChunk().getZ()
+ cz);
player.getWorld().refreshChunk(player.getLocation().getChunk().getX() + cx, player.getLocation().getChunk().getZ() + cz);
}
}
}

View File

@ -110,6 +110,8 @@ public class Unlink extends SubCommand {
}
manager.finishPlotUnlink(world, plotworld, ids);
PlayerFunctions.sendMessage(plr, "&6Plots unlinked successfully!");
return true;
}

View File

@ -597,4 +597,9 @@ public class DefaultPlotManager extends PlotManager {
}
return true;
}
@Override
public boolean finishPlotUnlink(World world, PlotWorld plotworld, ArrayList<PlotId> plotIds) {
return true;
}
}