mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-05 14:05:26 +02:00
Fixed not being able to place blocks on top of certain repair/salvage
anvils
This commit is contained in:
@@ -89,7 +89,9 @@ public final class BlockUtils {
|
||||
* otherwise
|
||||
*/
|
||||
public static boolean canActivateTools(BlockState blockState) {
|
||||
return !mcMMO.getMaterialMapStore().isToolActivationBlackListed(blockState.getType());
|
||||
return !mcMMO.getMaterialMapStore().isToolActivationBlackListed(blockState.getType())
|
||||
&& blockState.getType() != Repair.anvilMaterial
|
||||
&& blockState.getType() != Salvage.anvilMaterial;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user