mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-08 13:33:11 +00:00
pw
This commit is contained in:
parent
0dc0b29ea7
commit
439a1d440a
29 changed files with 60 additions and 61 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue