mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 19:24:44 +02:00
Static ALL the things!
This commit is contained in:
@ -126,7 +126,7 @@ public class Excavation {
|
||||
Excavation.excavationProcCheck(block, player);
|
||||
}
|
||||
|
||||
if (mcMMO.p.spoutEnabled) {
|
||||
if (mcMMO.spoutEnabled) {
|
||||
SpoutSounds.playSoundForPlayer(SoundEffect.POP, player, block.getLocation());
|
||||
}
|
||||
}
|
||||
|
@ -331,7 +331,7 @@ public class Mining {
|
||||
|
||||
miningBlockCheck(player, block);
|
||||
|
||||
if (mcMMO.p.spoutEnabled) {
|
||||
if (mcMMO.spoutEnabled) {
|
||||
SpoutSounds.playSoundForPlayer(SoundEffect.POP, player, block.getLocation());
|
||||
}
|
||||
}
|
||||
@ -376,7 +376,7 @@ public class Mining {
|
||||
|
||||
miningBlockCheck(player, block);
|
||||
|
||||
if (mcMMO.p.spoutEnabled) {
|
||||
if (mcMMO.spoutEnabled) {
|
||||
SpoutSounds.playSoundForPlayer(SoundEffect.POP, player, block.getLocation());
|
||||
}
|
||||
}
|
||||
|
@ -399,7 +399,7 @@ public class WoodCutting {
|
||||
Skills.abilityDurabilityLoss(player.getItemInHand(), Config.getInstance().getAbilityToolDamage());
|
||||
}
|
||||
|
||||
if (mcMMO.p.spoutEnabled) {
|
||||
if (mcMMO.spoutEnabled) {
|
||||
SpoutSounds.playSoundForPlayer(SoundEffect.POP, player, block.getLocation());
|
||||
}
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ public class Repair {
|
||||
Skills.xpProcessing(player, PP, SkillType.REPAIR, dif * 10);
|
||||
|
||||
//CLANG CLANG
|
||||
if (mcMMO.p.spoutEnabled) {
|
||||
if (mcMMO.spoutEnabled) {
|
||||
SpoutSounds.playRepairNoise(player, mcMMO.p);
|
||||
}
|
||||
}
|
||||
@ -241,7 +241,7 @@ public class Repair {
|
||||
PlayerProfile PP = Users.getProfile(player);
|
||||
|
||||
if (!PP.getPlacedAnvil()) {
|
||||
if (mcMMO.p.spoutEnabled) {
|
||||
if (mcMMO.spoutEnabled) {
|
||||
SpoutPlayer sPlayer = SpoutManager.getPlayer(player);
|
||||
|
||||
if (sPlayer.isSpoutCraftEnabled()) {
|
||||
|
Reference in New Issue
Block a user