You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
739 B
24 lines
739 B
10 years ago
|
--- ../src-base/minecraft/org/bukkit/conversations/Conversation.java
|
||
|
+++ ../src-work/minecraft/org/bukkit/conversations/Conversation.java
|
||
|
@@ -209,6 +209,7 @@
|
||
|
* @param input The user's chat text.
|
||
|
*/
|
||
|
public void acceptInput(String input) {
|
||
|
+ try { // Spigot
|
||
|
if (currentPrompt != null) {
|
||
|
|
||
|
// Echo the user's input
|
||
|
@@ -228,6 +229,12 @@
|
||
|
currentPrompt = currentPrompt.acceptInput(context, input);
|
||
|
outputNextPrompt();
|
||
|
}
|
||
|
+ // Spigot Start
|
||
|
+ } catch ( Throwable t )
|
||
|
+ {
|
||
|
+ org.bukkit.Bukkit.getLogger().log( java.util.logging.Level.SEVERE, "Error handling conversation prompt", t );
|
||
|
+ }
|
||
|
+ // Spigot End
|
||
|
}
|
||
|
|
||
|
/**
|