Fixed the negative number bug

This has been tested and deployed on a friend's mc server.  Let me know if there's any questions.