Remove unused quickselect setting

This commit is contained in:
fullwall 2020-07-16 23:55:09 +08:00
parent 57373a68a3
commit f973fdde9c
2 changed files with 0 additions and 4 deletions

View File

@ -123,7 +123,6 @@ public class Settings {
NPC_SKIN_USE_LATEST("npc.skins.use-latest-by-default", false),
NPC_SKIN_VIEW_DISTANCE("npc.skins.view-distance", 100D),
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),
SAVE_TASK_DELAY("storage.save-task.delay", 20 * 60 * 60),
SELECTION_ITEM("npc.selection.item", "stick"),

View File

@ -106,9 +106,6 @@ public class NPCSelector implements Listener, net.citizensnpcs.api.npc.NPCSelect
player.removeMetadata("selected", plugin);
select(player, npc);
Messaging.sendWithNPC(player, Setting.SELECTION_MESSAGE.asString(), npc);
if (!Setting.QUICK_SELECT.asBoolean()) {
return;
}
}
}
}