// In all other cases, we will no longer be using this (horizontal) rail.
// If we came from a vertical rail and need to move onto a slope
// Vertical -> Slope UP
RailTracker railTracker = member.getRailTracker();
if (railTracker.getLastRailType() == RailType.VERTICAL) {
IntVector3 nextPos = pos.add(railTracker.getLastLogic().getDirection());
Material type = WorldUtil.getBlockType(world, nextPos.x, nextPos.y, nextPos.z);
int data = WorldUtil.getBlockData(world, nextPos);
if (this.isRail(type, data)) {
// Check that the direction of the rail is correct
Rails rails = CommonUtil.tryCast(BlockUtil.getData(type, data), Rails.class);