Max-entities-within-aabb not working correctly

All the component of my server:

  • forge-1.12.2-14.23.5.2847-universal.jar
  • spongeforge-1.12.2-2838-7.2.0.jar
  • I disabled other forge plugins when I test, and it’s working correctly when I disable sponge

The default value of max-entities-within-aabb is 8, but when I put more than 8 cows into a 1x1 space, they won’t die, and when I disable this config by setting the value to 0 and use /gamerule maxEntityCramming 8 they also not working, It’s a bug or I have some mistake? Thank you.