fix: small fix for runTracked throwing when the bot is not logged in
This commit is contained in:
parent
36a138becc
commit
bb0bc090df
2 changed files with 3 additions and 1 deletions
|
@ -1 +1 @@
|
||||||
1136
|
1137
|
|
@ -208,6 +208,8 @@ public class CorePlugin extends PositionPlugin.Listener {
|
||||||
|
|
||||||
// thanks chipmunk for this new tellraw method
|
// thanks chipmunk for this new tellraw method
|
||||||
public CompletableFuture<Component> runTracked (String command) {
|
public CompletableFuture<Component> runTracked (String command) {
|
||||||
|
if (!ready || command.length() > 32767) return null;
|
||||||
|
|
||||||
if (!bot.options.useCore) return null;
|
if (!bot.options.useCore) return null;
|
||||||
|
|
||||||
if (bot.options.useCorePlaceBlock) {
|
if (bot.options.useCorePlaceBlock) {
|
||||||
|
|
Loading…
Reference in a new issue