Need to force updates here.

This commit is contained in:
GJ 2013-02-25 09:18:53 -05:00
parent 9888fe6e09
commit 52467075b4

View File

@ -237,14 +237,14 @@ public class BlockListener implements Listener {
if (Permissions.hylianLuck(player) && ItemChecks.isSword(heldItem)) { if (Permissions.hylianLuck(player) && ItemChecks.isSword(heldItem)) {
if (Herbalism.processHylianLuck(blockState, player)) { if (Herbalism.processHylianLuck(blockState, player)) {
blockState.update(true);
event.setCancelled(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)) { 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)) { if (Smelting.processFluxMining(blockState, player)) {
blockState.update(true);
event.setCancelled(true); event.setCancelled(true);
blockState.update();
} }
} }
} }