Fix Ring of Loki not working

Fixes #1054 and #1094
This commit is contained in:
TheWhiteWolves committed 2015-06-16 10:52:14 +01:00
1 parent fdcb6e9731
commit 65eaa8de51
1 file changed
+1 -1
@@ -116,7 +116,7 @@ public class ItemLokiRing extends ItemRelicBauble implements IExtendedWireframeC
}
}
}
} else if(originCoords.posY == -1 && heldItemStack != null && event.action == Action.RIGHT_CLICK_BLOCK && lookPos != null && player.isSneaking()) {
} else if(originCoords.posY != -1 && heldItemStack != null && event.action == Action.RIGHT_CLICK_BLOCK && lookPos != null && player.isSneaking()) {
List<ChunkCoordinates> cursors = getCursorList(lokiRing);
for(ChunkCoordinates cursor : cursors) {
int x = lookPos.blockX + cursor.posX;