Skip to content

Commit c5caaf7

Browse files
committed
[EntityCulling] Fix user cull data tickedTime not being reset
1 parent dd6297b commit c5caaf7

File tree

1 file changed

+1
-0
lines changed
  • bukkit/src/main/kotlin/io/github/rothes/esu/bukkit/module/networkthrottle/entityculling

1 file changed

+1
-0
lines changed

bukkit/src/main/kotlin/io/github/rothes/esu/bukkit/module/networkthrottle/entityculling/UserCullData.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ class UserCullData(
5454
fun tick() {
5555
if (++tickedTime >= 60 * 2 * 20) {
5656
checkEntitiesValid()
57+
tickedTime = 0
5758
}
5859
updateChanges()
5960
}

0 commit comments

Comments
 (0)