Removing NMS dependency.

Changes thanks to https://github.com/NerdNu/MobLimiter/commit/64f89f2