sk89q/commandbook — pull request #71 by ruan942 (2012-04-21 19:11:46+00:00)
Title: Add amount check to fix crash

If a value given while spawning items is very large, the server will freeze up while looping addItem().

Executing "/item 1 2147483647" will freeze up a server, no matter how powerful it is.