mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 11:49:37 +00:00
Use saved attributes for rings. Closes #3027
This commit is contained in:
1 parent
2ad10a4601
commit
d8c0adc60a
2 files changed
+2
-3
No files matched your search
@@ -25,7 +25,7 @@ public class ItemReachRing extends ItemBauble {
|
||||
@Override
|
||||
public Multimap<String, AttributeModifier> getEquippedAttributeModifiers(ItemStack stack) {
|
||||
Multimap<String, AttributeModifier> attributes = HashMultimap.create();
|
||||
attributes.put(PlayerEntity.REACH_DISTANCE.getName(), new AttributeModifier(getBaubleUUID(stack), "Reach Ring", 3.5, AttributeModifier.Operation.ADDITION).setSaved(false));
|
||||
attributes.put(PlayerEntity.REACH_DISTANCE.getName(), new AttributeModifier(getBaubleUUID(stack), "Reach Ring", 3.5, AttributeModifier.Operation.ADDITION));
|
||||
return attributes;
|
||||
}
|
||||
}
|
||||
@@ -57,8 +57,7 @@ public class ItemOdinRing extends ItemRelicBauble {
|
||||
public Multimap<String, AttributeModifier> getEquippedAttributeModifiers(ItemStack stack) {
|
||||
Multimap<String, AttributeModifier> attributes = HashMultimap.create();
|
||||
attributes.put(SharedMonsterAttributes.MAX_HEALTH.getName(),
|
||||
new AttributeModifier(getBaubleUUID(stack), "Odin Ring", 20, AttributeModifier.Operation.ADDITION)
|
||||
.setSaved(false));
|
||||
new AttributeModifier(getBaubleUUID(stack), "Odin Ring", 20, AttributeModifier.Operation.ADDITION));
|
||||
return attributes;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user