Skip to content

Commit

Permalink
Fix bad tags config causing package error
Browse files Browse the repository at this point in the history
  • Loading branch information
Roadhog360 committed Sep 1, 2024
1 parent 9ccbddd commit 7673c09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ enableGenericInjection = true
# Generate a class with a String field for the mod version named as defined below.
# If generateGradleTokenClass is empty or not missing, no such class will be generated.
# If gradleTokenVersion is empty or missing, the field will not be present in the class.
generateGradleTokenClass = roadhog360.simpleskinbackport
generateGradleTokenClass = roadhog360.simpleskinbackport.Tags

# Name of the token containing the project's current version to generate/replace.
gradleTokenVersion = VERSION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public byte createLimbInfo(Limb... limbs)
}

public static boolean showLimb(byte data, Limb limbToShow) {
return ((data >> limbToShow.ordinal()) & 1) == 1;
return (data & limbToShow.ordinal()) != 0;
}

public enum Limb {
Expand Down

0 comments on commit 7673c09

Please sign in to comment.