mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2025-01-07 19:18:01 +01:00
Remove references to a paper only api when the natural exists.
This commit is contained in:
parent
6cc2fb7d39
commit
fc589b5497
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user