Minor Changes

By looking at the source code for DevTools by @PocketMine, I was able to notice a couple issues :)