This commit is contained in:
Brady 2019-01-22 13:32:37 -06:00
parent 253d67ce78
commit b75f4bf9a9
No known key found for this signature in database
GPG Key ID: 73A788379A197567
2 changed files with 3 additions and 3 deletions

View File

@ -25,8 +25,8 @@ import baritone.api.event.events.PathEvent;
* <p> * <p>
* Differences between a baritone process and a behavior: * Differences between a baritone process and a behavior:
* <ul> * <ul>
* <li>Only one baritone process can be active at a time</li> * <li>Only one baritone process can be active at a time</li>
* <li>PathingBehavior can only be controlled by a process</li> * <li>PathingBehavior can only be controlled by a process</li>
* </ul> * </ul>
* <p> * <p>
* That's it actually * That's it actually

View File

@ -89,7 +89,7 @@ public class ExampleBaritoneControl extends Behavior implements Helper {
return; return;
} }
String msg = event.getMessage(); String msg = event.getMessage();
if (Baritone.settings().prefix.get()) { if (Baritone.settings().prefix.get()) {
if (msg.startsWith(COMMAND_PREFIX)) { if (msg.startsWith(COMMAND_PREFIX)) {
if (!runCommand(msg.substring(COMMAND_PREFIX.length()))) { if (!runCommand(msg.substring(COMMAND_PREFIX.length()))) {
logDirect("Invalid command"); logDirect("Invalid command");