mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-02-03 14:02:01 +01:00
Remove unused quickselect setting
This commit is contained in:
parent
57373a68a3
commit
f973fdde9c
@ -123,7 +123,6 @@ public class Settings {
|
|||||||
NPC_SKIN_USE_LATEST("npc.skins.use-latest-by-default", false),
|
NPC_SKIN_USE_LATEST("npc.skins.use-latest-by-default", false),
|
||||||
NPC_SKIN_VIEW_DISTANCE("npc.skins.view-distance", 100D),
|
NPC_SKIN_VIEW_DISTANCE("npc.skins.view-distance", 100D),
|
||||||
PACKET_UPDATE_DELAY("npc.packets.update-delay", 30),
|
PACKET_UPDATE_DELAY("npc.packets.update-delay", 30),
|
||||||
QUICK_SELECT("npc.selection.quick-select", false),
|
|
||||||
REMOVE_PLAYERS_FROM_PLAYER_LIST("npc.player.remove-from-list", true),
|
REMOVE_PLAYERS_FROM_PLAYER_LIST("npc.player.remove-from-list", true),
|
||||||
SAVE_TASK_DELAY("storage.save-task.delay", 20 * 60 * 60),
|
SAVE_TASK_DELAY("storage.save-task.delay", 20 * 60 * 60),
|
||||||
SELECTION_ITEM("npc.selection.item", "stick"),
|
SELECTION_ITEM("npc.selection.item", "stick"),
|
||||||
|
@ -106,9 +106,6 @@ public class NPCSelector implements Listener, net.citizensnpcs.api.npc.NPCSelect
|
|||||||
player.removeMetadata("selected", plugin);
|
player.removeMetadata("selected", plugin);
|
||||||
select(player, npc);
|
select(player, npc);
|
||||||
Messaging.sendWithNPC(player, Setting.SELECTION_MESSAGE.asString(), npc);
|
Messaging.sendWithNPC(player, Setting.SELECTION_MESSAGE.asString(), npc);
|
||||||
if (!Setting.QUICK_SELECT.asBoolean()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user