This commit is contained in:
boy0001 2015-02-20 19:55:04 +11:00
parent 0dc0b29ea7
commit 439a1d440a
29 changed files with 60 additions and 61 deletions

View file

@ -39,7 +39,7 @@ public class DebugRoadRegen extends SubCommand {
@Override
public boolean execute(final Player player, final String... args) {
if (!(PlotSquared.getWorldSettings(player.getWorld()) instanceof HybridPlotWorld)) {
if (!(PlotSquared.getPlotWorld(player.getWorld()) instanceof HybridPlotWorld)) {
return sendMessage(player, C.NOT_IN_PLOT_WORLD);
}
final HybridPlotManager manager = (HybridPlotManager) PlotSquared.getPlotManager(player.getWorld());