Skip to content

Commit 7df36ac

Browse files
committed
fix scanner breaking if you have a specific slot selected
1 parent 2ee8c0a commit 7df36ac

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/java/dev/dfonline/codeclient/action/impl/ScanPlot.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ public pickUpBlock(BlockPos pos, Callback callback) {
9595
@Override
9696
public void init() {
9797
var net = CodeClient.MC.getNetworkHandler();
98+
Utility.makeHolding(ItemStack.EMPTY);
9899
var player = CodeClient.MC.player;
99100
var inter = CodeClient.MC.interactionManager;
100101
boolean sneaky = !player.isSneaking();

0 commit comments

Comments
 (0)