Reformat
This commit is contained in:
parent
253d67ce78
commit
b75f4bf9a9
@ -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
|
||||||
|
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user