mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-22 08:02:31 +01:00
Fix failed issue
This commit is contained in:
parent
ac7ca6f8e4
commit
01ff9e2123
@ -163,7 +163,7 @@ public final class NBTUtils {
|
||||
final double value = attributeNBT.getNumber("Amount").doubleValue();
|
||||
final String slot = attributeNBT.containsKey("Slot") ? attributeNBT.getString("Slot") : "MAINHAND";
|
||||
final String attributeName = attributeNBT.getString("AttributeName");
|
||||
final int operation = attributeNBT.getInt("Operation").intValue();
|
||||
final int operation = attributeNBT.getNumber("Operation").intValue();
|
||||
final String name = attributeNBT.getString("Name");
|
||||
|
||||
final Attribute attribute = Attribute.fromKey(attributeName);
|
||||
|
Loading…
Reference in New Issue
Block a user