Spectator Mode Remaining in Mob and "Attempting to attack an invalid entity"
When in Spectator Mode,going into an entity,then changing to Survival Mode,you still remain in the entity but hostile mobs attack you.Also attacking an entity crashes the world,giving the following reason:
"Connection Lost"
"Attempting to attack an invalid entity"
Linked Issues
is blocked by1
is duplicated by7
Created Issue:
Spectator Mod "Attempting to attack an invalid entity"
When in Spectator Mode,going into an entity,then changing to Survival Mode,you still remain in the entity but hostile mobs attack you.Also attacking an entity crashes the world,giving the following reason:
"Connection Lost"
"Attempting to attack an invalid entity"
is duplicated by
is duplicated by
is duplicated by
is blocked by
Spectator Mode "Attempting to attack an invalid entity"
is duplicated by
is duplicated by
It also happends in 14w05a, when you enter spectator mode, you exit "inside" an entity (watching its POV) and you hit the entity outside of spectator mode, it outputs "Attempting to atack an invalid entity" (As in MC-46411 )
Duplicate of MC-46411
Duplicate of MC-46411
Duplicate of MC-46411
Duplicate of MC-46411
Duplicate of MC-46411
If you have not, please use the search function in the future, to see if your bug has already been submitted. If you could not find the original report, please comment with the keywords you searched for.
I can confirm, also there is no stack trace or console message.
MC 1.11.2, What was causing this or how to reproduce it i cant say, but ive noticed various users now reporting having issues an when looking on console an through logs, im seeing various messages related to this.
[23:15:24] [Server thread/INFO]: X7Y lost connection: TextComponent{text='Attempting to attack an invalid entity', siblings=[], style=Style
{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}