Skip to content

Commit

Permalink
Update GroupStatsListener.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Ixf1nity authored May 15, 2024
1 parent a2e3819 commit e73cf2b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void onBedBreak(PlayerBedBreakEvent event) {
GroupProfile victim = instance.getGroupManager().getGroupProfileCache()
.get(player.getUniqueId());
GroupNode victimGroupNode = victim.getGroupStatistics().get(event.getArena().getGroup());
victimGroupNode.setBedsBroken(victimGroupNode.getBedsLost() + 1);
victimGroupNode.setBedsLost(victimGroupNode.getBedsLost() + 1);
});
}

Expand Down

0 comments on commit e73cf2b

Please sign in to comment.