mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-26 20:55:44 +01:00
Sync naming
This commit is contained in:
parent
874b2f660c
commit
ca421b9cef
@ -140,7 +140,7 @@ public class Settings {
|
||||
NPC_SKIN_VIEW_DISTANCE("npc.skins.view-distance", 100D),
|
||||
PACKET_UPDATE_DELAY("npc.packets.update-delay", 30),
|
||||
PLACEHOLDER_SKIN_UPDATE_FREQUENCY("npc.skins.placeholder-update-frequency-ticks", 5 * 60 * 20),
|
||||
RELOAD_INSTANTLY("general.reload-warning-enabled", true),
|
||||
WARN_ON_RELOAD("general.reload-warning-enabled", true),
|
||||
REMOVE_PLAYERS_FROM_PLAYER_LIST("npc.player.remove-from-list", true),
|
||||
SAVE_TASK_DELAY("storage.save-task.delay", 20 * 60 * 60),
|
||||
SELECTION_ITEM("npc.selection.item", "stick"),
|
||||
|
@ -44,7 +44,7 @@ public class AdminCommands {
|
||||
max = 1,
|
||||
permission = "citizens.admin")
|
||||
public void reload(CommandContext args, CommandSender sender, NPC npc) throws CommandException {
|
||||
if (!Setting.RELOAD_INSTANTLY.asBoolean()) {
|
||||
if (Setting.WARN_ON_RELOAD.asBoolean()) {
|
||||
Long timeout = reloadTimeouts.get(sender);
|
||||
if (timeout == null || System.currentTimeMillis() > timeout) {
|
||||
Messaging.sendErrorTr(sender, Messages.CITIZENS_RELOAD_WARNING);
|
||||
|
Loading…
Reference in New Issue
Block a user