mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2026-01-04 15:41:46 +00:00
3.6.27.1
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# Project settings
|
# Project settings
|
||||||
# Rule: [major update].[feature update].[bug fix]
|
# Rule: [major update].[feature update].[bug fix]
|
||||||
project_version=3.6.27
|
project_version=3.6.27.1
|
||||||
config_version=42
|
config_version=42
|
||||||
project_group=net.momirealms
|
project_group=net.momirealms
|
||||||
|
|
||||||
@@ -34,7 +34,7 @@ rtag_version=1.5.9
|
|||||||
exp4j_version=0.4.8
|
exp4j_version=0.4.8
|
||||||
placeholder_api_version=2.11.6
|
placeholder_api_version=2.11.6
|
||||||
anti_grief_version=0.13
|
anti_grief_version=0.13
|
||||||
zstd_version=1.5.6-8
|
zstd_version=1.5.6-9
|
||||||
flow_nbt_version=2.0.2
|
flow_nbt_version=2.0.2
|
||||||
guava_version=33.3.1-jre
|
guava_version=33.3.1-jre
|
||||||
vault_version=1.7
|
vault_version=1.7
|
||||||
|
|||||||
@@ -368,8 +368,8 @@ public class PlayerActionManager extends AbstractActionManager<Player> {
|
|||||||
private void registerSoundAction() {
|
private void registerSoundAction() {
|
||||||
registerAction((args, chance) -> {
|
registerAction((args, chance) -> {
|
||||||
if (args instanceof Section section) {
|
if (args instanceof Section section) {
|
||||||
MathValue<Player> volume = MathValue.auto(section.get("volume"));
|
MathValue<Player> volume = MathValue.auto(section.get("volume", 1));
|
||||||
MathValue<Player> pitch = MathValue.auto(section.get("pitch"));
|
MathValue<Player> pitch = MathValue.auto(section.get("pitch", 1));
|
||||||
Key key = Key.key(section.getString("key"));
|
Key key = Key.key(section.getString("key"));
|
||||||
Sound.Source source = Sound.Source.valueOf(section.getString("source", "PLAYER").toUpperCase(Locale.ENGLISH));
|
Sound.Source source = Sound.Source.valueOf(section.getString("source", "PLAYER").toUpperCase(Locale.ENGLISH));
|
||||||
return context -> {
|
return context -> {
|
||||||
|
|||||||
Reference in New Issue
Block a user