fix: no comment
This commit is contained in:
@@ -1 +1 @@
|
||||
1422
|
||||
1425
|
||||
@@ -234,7 +234,11 @@ public class CorePlugin extends PositionPlugin.Listener {
|
||||
}
|
||||
|
||||
public void runPlaceBlock (String command) {
|
||||
bot.executorService.submit(() -> placeBlockQueue.add(command));
|
||||
try {
|
||||
placeBlockQueue.add(command);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
private void forceRunPlaceBlock (String command) {
|
||||
|
||||
@@ -74,7 +74,7 @@ public class PositionPlugin extends Bot.Listener {
|
||||
}
|
||||
|
||||
public void packetReceived (ClientboundPlayerPositionPacket packet) {
|
||||
bot.session.send(new ServerboundAcceptTeleportationPacket(packet.getId()));
|
||||
if (bot.session != null) bot.session.send(new ServerboundAcceptTeleportationPacket(packet.getId()));
|
||||
|
||||
position = packet.getPosition();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user