This commit is contained in:
@ -40,9 +40,7 @@ public abstract class BlockMixin {
|
|||||||
Block.dropStack(world, pos, drop);
|
Block.dropStack(world, pos, drop);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
world.getServer().executeSync(() -> {
|
world.getServer().executeSync(() -> world.setBlockState(pos, seedBlock.getDefaultState()));
|
||||||
world.setBlockState(pos, seedBlock.getDefaultState());
|
|
||||||
});
|
|
||||||
player.incrementStat(Stats.USED.getOrCreateStat(seedItem));
|
player.incrementStat(Stats.USED.getOrCreateStat(seedItem));
|
||||||
cir.cancel();
|
cir.cancel();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user