File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/main/java/dev/dfonline/codeclient/websocket Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 8
8
import com .mojang .brigadier .exceptions .CommandSyntaxException ;
9
9
import dev .dfonline .codeclient .CodeClient ;
10
10
import dev .dfonline .codeclient .Utility ;
11
+ import dev .dfonline .codeclient .action .None ;
11
12
import dev .dfonline .codeclient .action .impl .ClearPlot ;
12
13
import dev .dfonline .codeclient .action .impl .GetPlotSize ;
13
14
import dev .dfonline .codeclient .action .impl .MoveToSpawn ;
@@ -216,6 +217,7 @@ private static class Place extends SocketHandler.Action {
216
217
public void start (WebSocket responder ) {
217
218
if (!ready ) return ;
218
219
CodeClient .currentAction = new PlaceTemplates (templates , () -> {
220
+ CodeClient .currentAction = new None ();
219
221
if (responder .isOpen ()) responder .send ("place done" );
220
222
next ();
221
223
});
@@ -229,6 +231,7 @@ public void message(WebSocket responder, String message) {
229
231
if (Objects .equals (actionQueue .get (0 ), this )) {
230
232
this .start (responder );
231
233
}
234
+ return ;
232
235
}
233
236
234
237
ItemStack template = new ItemStack (Items .ENDER_CHEST );
You can’t perform that action at this time.
0 commit comments