mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-21 05:44:33 +00:00
#901: Fix PlayerStatisticIncrementEvent spam
This commit is contained in:
parent
aa69d1cfb9
commit
3ad0fb1c04
1 changed files with 4 additions and 0 deletions
|
@ -1393,6 +1393,10 @@ public class CraftEventFactory {
|
|||
case CROUCH_ONE_CM:
|
||||
case TIME_SINCE_DEATH:
|
||||
case SNEAK_TIME:
|
||||
case TOTAL_WORLD_TIME:
|
||||
case TIME_SINCE_REST:
|
||||
case AVIATE_ONE_CM:
|
||||
case STRIDER_ONE_CM:
|
||||
// Do not process event for these - too spammy
|
||||
return null;
|
||||
default:
|
||||
|
|
Loading…
Add table
Reference in a new issue