public static boolean checkPotentialLock(MapleCharacter chr, Equip eq, int line, int potential) {
        if (line == 0 || potential == 0) {
            return false;
        }
        if (line < 0 || line > 3) {
            System.out.println("[Hacking Attempt] " + MapleCharacterUtil.makeMapleReadable(chr.getName()) + " Tried to lock potential line which does not exists.");
            return false;
        }
        if (line == 1 && eq.getPotential1() != potential - line * 100000
         || line == 2 && eq.getPotential2() != potential - line * 100000
         || line == 3 && eq.getPotential3() != potential - line * 100000) {
            System.out.println("[Hacking Attempt] " + MapleCharacterUtil.makeMapleReadable(chr.getName()) + " Tried to lock potential which equip doesn't have.");
            return false;
        }
        return true;
    }