Skip to content

Commit

Permalink
chore: backport 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamalam360 committed May 21, 2024
1 parent 629cbf8 commit a2e8755
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
- Remove the Baubly dependency
- This also fixes #42
- Drop Forge and Quilt support (see Discord for reasoning). This was done pre-1.20.6 to reduce the
work needed to remove Baubly.
- Fix a dupe exploit (#44)
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ public class ServerGamePacketListenerImplMixin {
)
)
private boolean utilitybelt$disallowOffhandWhenInBelt(boolean original) {
return original && !StateManager.getServerInstance().isInBelt(this.player);
return original || StateManager.getServerInstance().isInBelt(this.player);
}
}
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ org.gradle.jvmargs=-Xmx3G
org.gradle.daemon=false
org.gradle.parallel=true

version=2.1.0+1.20.4
version=2.1.1+1.20.4
minecraft_version=1.20.4
branch=main
branch=1.20.4
group=io.github.jamalam360
mod_name=Utility Belt
mod_id=utility_belt
Expand Down

0 comments on commit a2e8755

Please sign in to comment.