mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 20:23:53 -07:00
#901: Fix PlayerStatisticIncrementEvent spam
By: Mitchell Sulkowski <mitchellsulkowski@gmail.com>
This commit is contained in:
@@ -1393,6 +1393,10 @@ public class CraftEventFactory {
|
|||||||
case CROUCH_ONE_CM:
|
case CROUCH_ONE_CM:
|
||||||
case TIME_SINCE_DEATH:
|
case TIME_SINCE_DEATH:
|
||||||
case SNEAK_TIME:
|
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
|
// Do not process event for these - too spammy
|
||||||
return null;
|
return null;
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user