mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
feedback
This commit is contained in:
parent
a6d6c34902
commit
b58b6f5963
@ -87,7 +87,7 @@ public class Merge extends SubCommand {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
boolean admin = PlotMain.hasPermission(plr, "plots.admin");
|
boolean admin = PlotMain.hasPermission(plr, "plots.admin");
|
||||||
if (!plot.getOwner().equals(UUIDHandler.getUUID( plr)) && !admin) {
|
if (!plot.getOwner().equals(UUIDHandler.getUUID(plr)) && !admin) {
|
||||||
PlayerFunctions.sendMessage(plr, C.NO_PLOT_PERMS);
|
PlayerFunctions.sendMessage(plr, C.NO_PLOT_PERMS);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -153,7 +153,7 @@ public enum C {
|
|||||||
*/
|
*/
|
||||||
NO_SCHEMATIC_PERMISSION("&cYou don't have the permission required to use schematic &6%s"),
|
NO_SCHEMATIC_PERMISSION("&cYou don't have the permission required to use schematic &6%s"),
|
||||||
NO_PERMISSION("&cYou are lacking the permission node: &6%s"),
|
NO_PERMISSION("&cYou are lacking the permission node: &6%s"),
|
||||||
NO_PLOT_PERMS("&cYou don't have the permissions to do that in this plot"),
|
NO_PLOT_PERMS("&cYou must be the plot owner to perform this action"),
|
||||||
CANT_CLAIM_MORE_PLOTS("&cYou can't claim more plots."),
|
CANT_CLAIM_MORE_PLOTS("&cYou can't claim more plots."),
|
||||||
CANT_CLAIM_MORE_PLOTS_NUM("&cYou can't claim more than &6%s &cplots at once"),
|
CANT_CLAIM_MORE_PLOTS_NUM("&cYou can't claim more than &6%s &cplots at once"),
|
||||||
YOU_BE_DENIED("&cYou are not allowed to enter this plot"),
|
YOU_BE_DENIED("&cYou are not allowed to enter this plot"),
|
||||||
@ -245,6 +245,7 @@ public enum C {
|
|||||||
* Info
|
* Info
|
||||||
*/
|
*/
|
||||||
PLOT_UNOWNED("&cThe current plot must have an owner to perform this action"),
|
PLOT_UNOWNED("&cThe current plot must have an owner to perform this action"),
|
||||||
|
PLOT_INFO_UNCLAIMED("&cPlot &6%s&c is not yet claimed"),
|
||||||
/*
|
/*
|
||||||
* PLOT_INFO("" +
|
* PLOT_INFO("" +
|
||||||
* "&6ID&7: &a%id%&7\n" +
|
* "&6ID&7: &a%id%&7\n" +
|
||||||
|
Loading…
Reference in New Issue
Block a user