mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-09 22:13:12 +00:00
More changes
This commit is contained in:
parent
d227bcc739
commit
fde378c965
96 changed files with 3323 additions and 1354 deletions
|
@ -31,7 +31,7 @@ import org.bukkit.World;
|
|||
import org.bukkit.block.Biome;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import com.intellectualcrafters.plot.PlotMain;
|
||||
import com.intellectualcrafters.plot.PlotSquared;
|
||||
import com.intellectualcrafters.plot.config.C;
|
||||
import com.intellectualcrafters.plot.database.DBFunc;
|
||||
import com.intellectualcrafters.plot.flag.FlagManager;
|
||||
|
@ -58,7 +58,7 @@ import com.intellectualcrafters.plot.util.UUIDHandler;
|
|||
Plot plot;
|
||||
if (player != null) {
|
||||
world = player.getWorld();
|
||||
if (!PlotMain.isPlotWorld(world)) {
|
||||
if (!PlotSquared.isPlotWorld(world)) {
|
||||
PlayerFunctions.sendMessage(player, C.NOT_IN_PLOT_WORLD);
|
||||
return false;
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ import com.intellectualcrafters.plot.util.UUIDHandler;
|
|||
PlayerFunctions.sendMessage(null, C.INFO_SYNTAX_CONSOLE);
|
||||
return false;
|
||||
}
|
||||
final PlotWorld plotworld = PlotMain.getWorldSettings(args[0]);
|
||||
final PlotWorld plotworld = PlotSquared.getWorldSettings(args[0]);
|
||||
if (plotworld == null) {
|
||||
PlayerFunctions.sendMessage(player, C.NOT_VALID_WORLD);
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue