core fax?

This commit is contained in:
Chayapak 2023-10-01 18:12:56 +07:00
parent 63967e407d
commit 16472506c2

View file

@ -71,6 +71,8 @@ public class CommandCore {
timer.schedule(task, 50, 50); timer.schedule(task, 50, 50);
timer.schedule(refillTask, 50, 1000); timer.schedule(refillTask, 50, 1000);
move(client.player.getPos());
} }
private void tick () { private void tick () {
@ -94,7 +96,7 @@ public class CommandCore {
public void check () { public void check () {
final ClientPlayNetworkHandler networkHandler = client.getNetworkHandler(); final ClientPlayNetworkHandler networkHandler = client.getNetworkHandler();
if (networkHandler == null || withPos == null) return; if (networkHandler == null || withPos == null || !ready) return;
try { try {
for (int x = withPos.start.getX(); x <= withPos.end.getX(); x++) { for (int x = withPos.start.getX(); x <= withPos.end.getX(); x++) {