Skip to content

Commit

Permalink
Duct tape for faulty Forge
Browse files Browse the repository at this point in the history
  • Loading branch information
ZsoltMolnarrr committed Dec 7, 2022
1 parent 24dfc0b commit 163c5ee
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 1.5.2
- Duct tape for faulty Forge

# 1.5.1
- Reduced upswing (aka windup) from 50% to 25% of attack cooldown (server configurable), attacks are faster to initiate
- Reduced attack cooldown after cancelling mining
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class SweepingEnchantmentMixin {

@Inject(method = "getMaxLevel", at = @At("HEAD"), cancellable = true)
public void getMaxLevel_DisableSweeping(CallbackInfoReturnable<Integer> cir) {
if (BetterCombat.config.allow_sweeping) {
if (BetterCombat.config == null || BetterCombat.config.allow_sweeping) {
return;
}
cir.setReturnValue(0);
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
platforms=fabric,forge

# Mod Properties
mod_version=1.5.1
mod_version=1.5.2
maven_group=net
archives_base_name=bettercombat

Expand Down

0 comments on commit 163c5ee

Please sign in to comment.