Jurv's absolutely autistic practices made me have to do this shit
This commit is contained in:
parent
34e5811613
commit
b9cba93d33
@ -300,7 +300,9 @@ public class ExampleBaritoneControl extends Behavior implements Helper {
|
|||||||
String[] blockTypes = msg.substring(4).trim().split(" ");
|
String[] blockTypes = msg.substring(4).trim().split(" ");
|
||||||
try {
|
try {
|
||||||
int quantity = Integer.parseInt(blockTypes[1]);
|
int quantity = Integer.parseInt(blockTypes[1]);
|
||||||
MineBehavior.INSTANCE.mine(quantity, blockTypes[0]);
|
Block block = ChunkPacker.stringToBlock(blockTypes[0]);
|
||||||
|
Objects.requireNonNull(block);
|
||||||
|
MineBehavior.INSTANCE.mine(quantity, block);
|
||||||
logDirect("Will mine " + quantity + " " + blockTypes[0]);
|
logDirect("Will mine " + quantity + " " + blockTypes[0]);
|
||||||
event.cancel();
|
event.cancel();
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user