diff --git a/src/main/java/com/alttd/playershops/config/MessageConfig.java b/src/main/java/com/alttd/playershops/config/MessageConfig.java index d262450..56f95d0 100644 --- a/src/main/java/com/alttd/playershops/config/MessageConfig.java +++ b/src/main/java/com/alttd/playershops/config/MessageConfig.java @@ -151,7 +151,7 @@ public class MessageConfig { public static String CHANGE_PRICE_PROMPT = "What should the price be? Type cancel to cancel this action."; public static String CHANGE_PRICE_FAILED_PROMPT = "Input must 0 or higher. Type cancel to cancel this action."; public static String CHANGE_AMOUNT_PROMPT = "How many items would you like to sell? Type cancel to cancel this action."; - public static String CHANGE_AMOUNT_FAILED_PROMPT = "Input must be between 1 and 3456. Type cancel to cancel this action."; + public static String CHANGE_AMOUNT_FAILED_PROMPT = "Input must be between 1 and 64. Type cancel to cancel this action."; public static String ADD_BALANCE_PROMPT = "How much money would you like to add? Type cancel to cancel this action."; public static String ADD_BALANCE_FAILED_PROMPT = "You do not have enough balance to deposit this amount. Type cancel to cancel this action."; public static String WITHDRAW_BALANCE_PROMPT = "How much money would you like to withdraw? Type cancel to cancel this action."; diff --git a/src/main/java/com/alttd/playershops/conversation/ConversationManager.java b/src/main/java/com/alttd/playershops/conversation/ConversationManager.java index beaead2..af53829 100644 --- a/src/main/java/com/alttd/playershops/conversation/ConversationManager.java +++ b/src/main/java/com/alttd/playershops/conversation/ConversationManager.java @@ -121,7 +121,7 @@ public class ConversationManager implements ConversationAbandonedListener { @Override protected boolean isNumberValid(ConversationContext context, Number input) { - return input.intValue() > 0 && input.intValue() <= 3456; + return input.intValue() > 0 && input.intValue() <= 64; } @Override