Skip to content

Commit

Permalink
fix issue where the entire mod was broken due to name instead of inde…
Browse files Browse the repository at this point in the history
…x in ModifyVariable
  • Loading branch information
Draylar committed Apr 16, 2020
1 parent 5d2a3d5 commit 362527e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ yarn_mappings=1.15.2+build.15
loader_version=0.8.2+build.194

# Mod Properties
mod_version=1.0.0-beta
mod_version=1.0.1-beta
maven_group=draylar
archives_base_name=tiered

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/draylar/tiered/mixin/PlayerEntityMixin.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ private void initAttributes(CallbackInfo ci) {
value = "INVOKE",
target = "Lnet/minecraft/entity/effect/StatusEffectUtil;hasHaste(Lnet/minecraft/entity/LivingEntity;)Z"
),
name = "f"
index = 2
)
private float getBlockBreakingSpeed(float f) {
EntityAttributeInstance instance = this.getAttributeInstance(CustomEntityAttributes.DIG_SPEED);
Expand Down Expand Up @@ -65,7 +65,7 @@ private float getBlockBreakingSpeed(float f) {
ordinal = 1
)
),
name = "bl3"
index = 8
)
private boolean attack(boolean bl3) {
float customChance = 0;
Expand Down

0 comments on commit 362527e

Please sign in to comment.