Remove references to a paper only api when the natural exists.

This commit is contained in:
libraryaddict 2025-01-06 00:54:06 +13:00
parent 6cc2fb7d39
commit fc589b5497
2 changed files with 2 additions and 2 deletions

View File

@ -659,7 +659,7 @@ public abstract class Disguise {
AttributeModifier.Operation.MULTIPLY_SCALAR_1, EquipmentSlotGroup.ANY);
} else {
newModifier = new AttributeModifier(DisguiseUtilities.getSelfDisguiseScaleUUID(),
DisguiseUtilities.getSelfDisguiseScaleNamespace().asString(), personalPlayerScaleAttribute,
DisguiseUtilities.getSelfDisguiseScaleNamespace().toString(), personalPlayerScaleAttribute,
AttributeModifier.Operation.MULTIPLY_SCALAR_1, EquipmentSlotGroup.ANY);
}

View File

@ -431,7 +431,7 @@ public class DisguiseUtilities {
return modifier.getKey().equals(getSelfDisguiseScaleNamespace());
}
return modifier.getName().equals(getSelfDisguiseScaleNamespace().asString());
return modifier.getName().equals(getSelfDisguiseScaleNamespace().toString());
}
public static void removeSelfDisguiseScale(Entity entity) {