Update ModRef.java
Various code optimization

sitll not able to make ghost shoot further than 16 block
Code optimization and ghost now inherit player health too
Default range for dungeon reduced
Ghost now open door while chasing player
Rewriting of how entity work
Stable v1.6.0
Fix missing null check

-Code clean up
Merge pull request #4 from SionoiS/v1.6.0Modif

v1.6.1