Skip to content

Commit 8eed0d9

Browse files
committed
Fix crime handling counting bot crimes as real
1 parent 54f6bc6 commit 8eed0d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/gameserver/event-handler/crime-log-created.handler.ts

+1
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ export class CrimeLogCreatedHandler
115115
.andWhere({
116116
handled: true
117117
})
118+
.andWhere(`pc."banTime" > 0`)
118119
.getMany();
119120

120121
// total crimes done within 24 hours

0 commit comments

Comments
 (0)