Update EntityHook.java

Added xwaffle's fix