From 20d624a571cfa4104b58a09efe2522ed5a1924fb Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Thu, 13 Jun 2019 16:25:12 +0200 Subject: [PATCH] Removed outdated config entries --- .../voxelsniper/VoxelSniperConfiguration.java | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/favs/src/main/java/com/thevoxelbox/voxelsniper/VoxelSniperConfiguration.java b/favs/src/main/java/com/thevoxelbox/voxelsniper/VoxelSniperConfiguration.java index 0e2e28aac..13a4c2614 100644 --- a/favs/src/main/java/com/thevoxelbox/voxelsniper/VoxelSniperConfiguration.java +++ b/favs/src/main/java/com/thevoxelbox/voxelsniper/VoxelSniperConfiguration.java @@ -11,7 +11,6 @@ import java.util.List; public class VoxelSniperConfiguration { public static final String CONFIG_IDENTIFIER_LITESNIPER_MAX_BRUSH_SIZE = "litesniper-max-brush-size"; public static final String CONFIG_IDENTIFIER_UNDO_CACHE_SIZE = "undo-cache-size"; - public static final String CONFIG_IDENTIFIER_LITESNIPER_RESTRICTED_ITEMS = "litesniper-restricted-items"; public static final String CONFIG_IDENTIFIER_MESSAGE_ON_LOGIN_ENABLED = "message-on-login-enabled"; public static final int DEFAULT_LITESNIPER_MAX_BRUSH_SIZE = 5; public static final int DEFAULT_UNDO_CACHE_SIZE = 20; @@ -61,25 +60,6 @@ public class VoxelSniperConfiguration { configuration.set(CONFIG_IDENTIFIER_LITESNIPER_MAX_BRUSH_SIZE, size); } - /** - * Returns List of restricted Litesniper Items. - * - * @return List of restricted Litesniper Items - */ - public List getLiteSniperRestrictedItems() { - return configuration.getIntegerList(CONFIG_IDENTIFIER_LITESNIPER_RESTRICTED_ITEMS); - } - - /** - * Set new list of restricted Litesniper Items. - * - * @param restrictedItems List of restricted Litesniper Items - */ - public void setLitesniperRestrictedItems(List restrictedItems) { - Preconditions.checkNotNull(restrictedItems, "Restricted items must be a list."); - configuration.set(CONFIG_IDENTIFIER_LITESNIPER_RESTRICTED_ITEMS, restrictedItems); - } - /** * Returns if the login message is enabled. *