mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-28 11:44:42 +02:00
Immature crop replanting, green thumb tweaks, replant accidental break
protection
This commit is contained in:
@ -39,6 +39,11 @@ public class SoundManager {
|
||||
world.playSound(location, getSound(soundType), getVolume(soundType), getPitch(soundType));
|
||||
}
|
||||
|
||||
public static void worldSendSoundMaxPitch(World world, Location location, SoundType soundType) {
|
||||
if(SoundConfig.getInstance().getIsEnabled(soundType))
|
||||
world.playSound(location, getSound(soundType), getVolume(soundType), 2.0F);
|
||||
}
|
||||
|
||||
/**
|
||||
* All volume is multiplied by the master volume to get its final value
|
||||
* @param soundType target soundtype
|
||||
|
Reference in New Issue
Block a user