small npc rotation fix
This commit is contained in:
		
							parent
							
								
									bdbf1c4cdd
								
							
						
					
					
						commit
						96d30c5a69
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -66,7 +66,7 @@ public class V1_8PacketFactory implements PacketFactory { | ||||||
|         ClientVersion clientVersion = packetEvents.getServerManager().getVersion().toClientVersion(); |         ClientVersion clientVersion = packetEvents.getServerManager().getVersion().toClientVersion(); | ||||||
|         sendPacket(player, type.getLegacyId(clientVersion) == -1 ? |         sendPacket(player, type.getLegacyId(clientVersion) == -1 ? | ||||||
|                 new WrapperPlayServerSpawnLivingEntity(entity.getEntityId(), entity.getUuid(), type, npcLocationToVector(location), |                 new WrapperPlayServerSpawnLivingEntity(entity.getEntityId(), entity.getUuid(), type, npcLocationToVector(location), | ||||||
|                         location.getYaw(), location.getPitch(), location.getPitch(), new Vector3d(), Collections.emptyList()) : |                         location.getYaw(), location.getPitch(), location.getYaw(), new Vector3d(), Collections.emptyList()) : | ||||||
|                 new WrapperPlayServerSpawnEntity(entity.getEntityId(), Optional.of(entity.getUuid()), entity.getType(), npcLocationToVector(location), |                 new WrapperPlayServerSpawnEntity(entity.getEntityId(), Optional.of(entity.getUuid()), entity.getType(), npcLocationToVector(location), | ||||||
|                         location.getPitch(), location.getYaw(), location.getYaw(), 0, Optional.empty())); |                         location.getPitch(), location.getYaw(), location.getYaw(), 0, Optional.empty())); | ||||||
|         sendAllMetadata(player, entity, properties); |         sendAllMetadata(player, entity, properties); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue