Fix an NPE for certain pet admin commands
Check permissions before setting slime size. Fixes #332
Merge branch 'master' into core-rewrite