Return null, instead of throwing a NPE at this level.
Merge branch 'master' of github.com:sk89q/commandhelper.git
added enchants and custom potions to itemmeta, made fireworks an entity, made damage events only fire once

Adds:
http://redmine.sk89q.com/issues/1551
http://redmine.sk89q.com/issues/2287
http://redmine.sk89q.com/issues/2289
Added trace()
Merge branch 'master' of github.com:sk89q/commandhelper.git
Fixed docs
Fixed docs
Merge pull request #93 from jb-aero/master

added enchants and custom potions to itemmeta, made fireworks an entity
Changed item_drop to allow for normal item arrays now.

Things like enchanted items and stuff can be dropped now. Also, added MCSpawnReason.BED.
Merge branch 'master' of github.com:sk89q/commandhelper.git
Changed the item_drop() function to drop_item().
Throw a CRE instead of an IllegalArgumentException in array_insert
Clarified the docs in player_teleport.
Added (get|set)_max_health, get_mob_effects, [set_]entity_onfire, play_entity_effect, play_sound, entity_death, updated player_death.

Yes, it uses a lot of the same code as player_death, which is because
that was made without using its own event. Next time effort is put
toward this, player_death can finally make use of its unique data.
Merge pull request #94 from jb-aero/master

Seven functions and 2 events.
Merged in from master.
Upgraded all the merged in code.