mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 05:06:45 +01:00
Fixed bug where ptp permissions weren't being handled properly
This commit is contained in:
parent
12c6bfc2e8
commit
79a5732c4d
@ -15,6 +15,7 @@ Version 1.4.01-dev
|
|||||||
= Fixed bug where using '/party chat message...' would result in the first word of the message being printed repeatedly
|
= Fixed bug where using '/party chat message...' would result in the first word of the message being printed repeatedly
|
||||||
= Fixed bug where the wrong flag was being set when taking damage
|
= Fixed bug where the wrong flag was being set when taking damage
|
||||||
= Fixed bug where the PTP cooldown was set improperly
|
= Fixed bug where the PTP cooldown was set improperly
|
||||||
|
= Fixed bug where ptp permissions weren't being handled properly
|
||||||
|
|
||||||
Version 1.4.00
|
Version 1.4.00
|
||||||
+ Added new Child Skill - Smelting!
|
+ Added new Child Skill - Smelting!
|
||||||
|
@ -331,7 +331,7 @@ public final class CommandRegistrationManager {
|
|||||||
public static void registerPtpCommand() {
|
public static void registerPtpCommand() {
|
||||||
PluginCommand command = mcMMO.p.getCommand("ptp");
|
PluginCommand command = mcMMO.p.getCommand("ptp");
|
||||||
command.setDescription(LocaleLoader.getString("Commands.Description.ptp"));
|
command.setDescription(LocaleLoader.getString("Commands.Description.ptp"));
|
||||||
command.setPermission("mcmmo.commands.ptp;mcmmo.commands.ptp.accept;mcmmo.commands.ptp.acceptall;mcmmo.commands.ptp.toggle");
|
command.setPermission("mcmmo.commands.ptp"); // Only need the main one, not the individual ones for toggle/accept/acceptall
|
||||||
command.setPermissionMessage(permissionsMessage);
|
command.setPermissionMessage(permissionsMessage);
|
||||||
command.setUsage(LocaleLoader.getString("Commands.Usage.1", "ptp", "<" + LocaleLoader.getString("Commands.Usage.Player") + ">"));
|
command.setUsage(LocaleLoader.getString("Commands.Usage.1", "ptp", "<" + LocaleLoader.getString("Commands.Usage.Player") + ">"));
|
||||||
command.setUsage(command.getUsage() + "\n" + LocaleLoader.getString("Commands.Usage.1", "ptp", "<toggle|accept|acceptall>"));
|
command.setUsage(command.getUsage() + "\n" + LocaleLoader.getString("Commands.Usage.1", "ptp", "<toggle|accept|acceptall>"));
|
||||||
|
Loading…
Reference in New Issue
Block a user