Added debug logging
Fixed type from network player to entity player.
Fixed type from network player to entity player, removed cast EntityPlayerBase and added some debug logging.
Added debug logging