Skip to content

Commit

Permalink
Comment bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AlurienFlame committed Jun 13, 2023
1 parent fa837bd commit 0eb41f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/net/balancedrecall/SleepingMat.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ public TypedActionResult<ItemStack> use(World world, PlayerEntity user, Hand han
user.incrementStat(BalancedRecall.MAT_SLEEPS);

// Damage durability
// BUG: When used on 1 durability, item breaks, but player still tries to sleep briefly before cancelling
stack.damage(1, user, (Consumer<LivingEntity>)((p) -> {
p.sendToolBreakStatus(user.getActiveHand());
}));
Expand Down

0 comments on commit 0eb41f9

Please sign in to comment.