修正nbt名称

This commit is contained in:
Atsuihsio 2024-10-01 15:01:48 +08:00
parent 6f37245c3e
commit 79171ecf75

View file

@ -34,7 +34,7 @@ public class ArmorPlate extends Item {
armorLevel = 2; armorLevel = 2;
} }
if (armor.getOrCreateTag().getDouble("armorPlate") < armorLevel * 30) { if (armor.getOrCreateTag().getDouble("ArmorPlate") < armorLevel * 30) {
playerIn.startUsingItem(handIn); playerIn.startUsingItem(handIn);
} }