Skip to content

Commit dc6eb25

Browse files
committed
-color standard and minor fix
1 parent 6f45f3f commit dc6eb25

File tree

4 files changed

+2
-1
lines changed

4 files changed

+2
-1
lines changed

color/The_Iron_Standard.png

121 Bytes
Loading

color/The_Iron_Standard_x16.png

225 Bytes
Loading

common/src/main/java/smartin/miapi/modules/properties/compat/BetterCombatHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ private static float getAttackRange(ItemStack stack) {
2727
return (float) AttributeProperty.getActualValue(stack, EquipmentSlot.MAINHAND, AttributeRegistry.ATTACK_RANGE) + 2.5f;
2828
}
2929

30-
private static net.bettercombat.api.WeaponAttributes container(JsonElement data) {
30+
public static net.bettercombat.api.WeaponAttributes container(JsonElement data) {
3131
if (data == null) {
3232
Miapi.LOGGER.warn("returning null cause data is null");
3333
return null;

common/src/main/java/smartin/miapi/modules/properties/compat/BetterCombatProperty.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public BetterCombatProperty() {
1919
@Override
2020
public boolean load(String moduleKey, JsonElement data) throws Exception {
2121
if (Platform.isModLoaded("bettercombat")) {
22+
BetterCombatHelper.container(data);
2223
return true;
2324
}
2425
return false;

0 commit comments

Comments
 (0)