mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-06 20:42:55 +00:00
COLOR SCHEME | PLOT COMPONENTS | MORE CMD ALIASES | PLOTMANAGER OVERHAUL + MORE
This commit is contained in:
parent
2bb03b5e13
commit
cd1c0bcee8
13 changed files with 369 additions and 496 deletions
|
@ -58,6 +58,10 @@ import com.intellectualcrafters.plot.util.UUIDHandler;
|
|||
Plot plot;
|
||||
if (player != null) {
|
||||
world = player.getWorld();
|
||||
if (!PlotMain.isPlotWorld(world)) {
|
||||
PlayerFunctions.sendMessage(player, C.NOT_IN_PLOT_WORLD);
|
||||
return false;
|
||||
}
|
||||
if (!PlayerFunctions.isInPlot(player)) {
|
||||
PlayerFunctions.sendMessage(player, C.NOT_IN_PLOT);
|
||||
return false;
|
||||
|
@ -132,8 +136,8 @@ import com.intellectualcrafters.plot.util.UUIDHandler;
|
|||
}
|
||||
|
||||
info = format(info, world, plot, player);
|
||||
|
||||
PlayerFunctions.sendMessage(player, info);
|
||||
PlayerFunctions.sendMessage(player, C.PLOT_INFO_HEADER);
|
||||
PlayerFunctions.sendMessage(player, info, false);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue