mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-01 16:19:53 +01:00
Need to force updates here.
This commit is contained in:
parent
9888fe6e09
commit
52467075b4
@ -237,14 +237,14 @@ public class BlockListener implements Listener {
|
||||
|
||||
if (Permissions.hylianLuck(player) && ItemChecks.isSword(heldItem)) {
|
||||
if (Herbalism.processHylianLuck(blockState, player)) {
|
||||
blockState.update(true);
|
||||
event.setCancelled(true);
|
||||
blockState.update();
|
||||
}
|
||||
}
|
||||
else if (BlockChecks.affectedByFluxMining(blockState) && ItemChecks.isPickaxe(heldItem) && !heldItem.containsEnchantment(Enchantment.SILK_TOUCH) && Permissions.fluxMining(player) && !mcMMO.placeStore.isTrue(blockState)) {
|
||||
if (Smelting.processFluxMining(blockState, player)) {
|
||||
blockState.update(true);
|
||||
event.setCancelled(true);
|
||||
blockState.update();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user