mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 03:04:44 +02:00
Actually fixed BlockCracker + One more type of block can be cracked
This commit is contained in:
@ -92,7 +92,14 @@ public class UnarmedManager extends SkillManager {
|
||||
return false;
|
||||
}
|
||||
|
||||
blockState.setType(Material.CRACKED_STONE_BRICKS);
|
||||
blockState.getBlock().setType(Material.CRACKED_STONE_BRICKS);
|
||||
return true;
|
||||
case INFESTED_STONE_BRICKS:
|
||||
if (!Unarmed.blockCrackerSmoothBrick) {
|
||||
return false;
|
||||
}
|
||||
|
||||
blockState.getBlock().setType(Material.INFESTED_CRACKED_STONE_BRICKS);
|
||||
return true;
|
||||
|
||||
default:
|
||||
|
Reference in New Issue
Block a user