/// <summary> Spawns an item at the target player's position. </summary> public static Item SpawnItem(this ItemDescription xDesc, PlayerView xTarget) { PlayerEntity xEntity = xTarget.xEntity; return(xDesc.SpawnItem(xEntity.xTransform.v2Pos, xEntity.xRenderComponent.fVirtualHeight, xEntity.xCollisionComponent.ibitCurrentColliderLayer)); }