Skip to content

Commit 82fd322

Browse files
FightListener - FightSync VL changes
Lower the players VL when their count is reset.
1 parent 040e7bc commit 82fd322

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/fight/FightListener.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -921,6 +921,7 @@ public void entityDamage(EntityDamageByEntityEvent event) {
921921
if (data.fightSyncCount >= cc.fightSyncResetCount) {
922922
data.fightSyncCount = 0;
923923
data.fightSyncReset = 0;
924+
data.fightSyncVL *= 0.99D;
924925
}
925926
data.fightSyncReset += 1;
926927
Location packet = data.lastHitLocation, eventLoc = player.getLocation();

0 commit comments

Comments
 (0)