Added barrier collision to player