|
2 | 2 |
|
3 | 3 | import com.mojang.brigadier.CommandDispatcher;
|
4 | 4 | import dev.dfonline.codeclient.action.None;
|
5 |
| -import dev.dfonline.codeclient.action.impl.GetActionDump; |
6 |
| -import dev.dfonline.codeclient.action.impl.GetPlotSize; |
7 |
| -import dev.dfonline.codeclient.action.impl.MoveToSpawn; |
| 5 | +import dev.dfonline.codeclient.action.impl.*; |
8 | 6 | import dev.dfonline.codeclient.config.Config;
|
9 | 7 | import dev.dfonline.codeclient.dev.BuildClip;
|
10 | 8 | import dev.dfonline.codeclient.dev.LastPos;
|
@@ -148,19 +146,20 @@ public static void register(CommandDispatcher<FabricClientCommandSource> dispatc
|
148 | 146 | // return 0;
|
149 | 147 | // }));
|
150 | 148 | // dispatcher.register(literal("placetemplate").executes(context -> {
|
151 |
| -// CodeClient.currentAction = new PlaceTemplates(Utility.TemplatesInInventory(), () -> Utility.sendMessage("Done!", ChatType.SUCCESS)); |
| 149 | +// CodeClient.currentAction = new PlaceTemplates(Utility.TemplatesInInventory(), () -> { |
| 150 | +// Utility.sendMessage("Done!", ChatType.SUCCESS); |
| 151 | +// CodeClient.currentAction = new None(); |
| 152 | +// }); |
152 | 153 | // CodeClient.currentAction.init();
|
153 | 154 | // return 0;
|
154 | 155 | // }));
|
155 |
| - |
| 156 | +// |
156 | 157 | // dispatcher.register(literal("codeforme").executes(context -> {
|
157 | 158 | // if(!(CodeClient.location instanceof Dev)) return 1;
|
158 | 159 | // CodeClient.currentAction = new ClearPlot(() -> {
|
159 |
| -// CodeClient.currentAction = new MoveToSpawn(() -> { |
160 |
| -// CodeClient.currentAction = new PlaceTemplates(Utility.TemplatesInInventory(), () -> { |
161 |
| -// Utility.sendMessage("Done!", ChatType.SUCCESS); |
162 |
| -// }); |
163 |
| -// CodeClient.currentAction.init(); |
| 160 | +// CodeClient.currentAction = new PlaceTemplates(Utility.TemplatesInInventory(), () -> { |
| 161 | +// CodeClient.currentAction = new None(); |
| 162 | +// Utility.sendMessage("Done!", ChatType.SUCCESS); |
164 | 163 | // });
|
165 | 164 | // CodeClient.currentAction.init();
|
166 | 165 | // });
|
|
0 commit comments