hopefully fix the core problem?

This commit is contained in:
Chayapak 2023-04-16 08:09:27 +07:00
parent ee9f733e4e
commit 44764e4e3f

View file

@ -64,6 +64,8 @@ public class CorePlugin extends PositionPlugin.PositionListener {
ready = false;
refillTask.cancel(true);
reset();
}
@Override
@ -76,14 +78,6 @@ public class CorePlugin extends PositionPlugin.PositionListener {
public void run (String command) {
if (!ready) return;
bot.session().send(new ServerboundSetCommandBlockPacket(
absoluteCorePosition(),
"",
CommandBlockMode.REDSTONE,
false,
false,
false
));
bot.session().send(new ServerboundSetCommandBlockPacket(
absoluteCorePosition(),
command,