From df2991b65f78a1fb4f8f5a076c2de53dc1400e48 Mon Sep 17 00:00:00 2001 From: XiaoMoMi Date: Sun, 22 Jun 2025 04:59:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bukkit/block/behavior/PressurePlateBlockBehavior.java | 2 +- .../main/resources/resources/default/configuration/items.yml | 2 +- .../resources/resources/default/configuration/palm_tree.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bukkit/src/main/java/net/momirealms/craftengine/bukkit/block/behavior/PressurePlateBlockBehavior.java b/bukkit/src/main/java/net/momirealms/craftengine/bukkit/block/behavior/PressurePlateBlockBehavior.java index fa31ce97a..dd84dfcd1 100644 --- a/bukkit/src/main/java/net/momirealms/craftengine/bukkit/block/behavior/PressurePlateBlockBehavior.java +++ b/bukkit/src/main/java/net/momirealms/craftengine/bukkit/block/behavior/PressurePlateBlockBehavior.java @@ -224,7 +224,7 @@ public class PressurePlateBlockBehavior extends BukkitBlockBehavior { @Override public BlockBehavior create(CustomBlock block, Map arguments) { Property powered = (Property) ResourceConfigUtils.requireNonNullOrThrow(block.getProperty("powered"), "warning.config.block.behavior.pressure_plate.missing_powered"); - PressurePlateSensitivity pressurePlateSensitivity = PressurePlateSensitivity.byName(arguments.getOrDefault("pressure-plate-sensitivity", "everything").toString()); + PressurePlateSensitivity pressurePlateSensitivity = PressurePlateSensitivity.byName(arguments.getOrDefault("sensitivity", "everything").toString()); Map sounds = (Map) arguments.get("sounds"); SoundData onSound = null; SoundData offSound = null; diff --git a/common-files/src/main/resources/resources/default/configuration/items.yml b/common-files/src/main/resources/resources/default/configuration/items.yml index 11ff4bcfd..764547c3d 100644 --- a/common-files/src/main/resources/resources/default/configuration/items.yml +++ b/common-files/src/main/resources/resources/default/configuration/items.yml @@ -229,7 +229,7 @@ items#topaz_gears: material: trident client-bound-material: $$1.20.1~1.21.1: bow - $$1.20.2~1.21.3: honey_bottle + $$1.21.2~1.21.3: honey_bottle custom-model-data: 1001 data: item-name: <#FF8C00> diff --git a/common-files/src/main/resources/resources/default/configuration/palm_tree.yml b/common-files/src/main/resources/resources/default/configuration/palm_tree.yml index f7b0ca23a..e0a8ff127 100644 --- a/common-files/src/main/resources/resources/default/configuration/palm_tree.yml +++ b/common-files/src/main/resources/resources/default/configuration/palm_tree.yml @@ -599,7 +599,7 @@ items: - minecraft:pressure_plates behaviors: type: pressure_plate_block - pressure-plate-sensitivity: all + sensitivity: all sounds: on: minecraft:block.wooden_pressure_plate.click_on off: minecraft:block.wooden_pressure_plate.click_off