Maggot Lair Pathing Issue

I’ve noticed that my hammerdin will continuously get stuck on the slime-looking doors in the maggot lair. Every other door he opens in other areas works fine and he pops up with “Opened a door!” overhead, but in maggot lair he just keeps casting hammers at whats behind the door, while never actually opening it. For some reason the sorc profiles I run seem to have less of an issue with it, maybe because blizzard can hit through doors so they can kill the monsters on the other side and then tele on their way past the door.

I found this in Pather.js, but the slime door things are still labeled as “Closed Door” when you mouse over them, so I assume the check for “door” would still apply and it should work, so I’m not sure why it’s having issues.

// Regular doors
var i, tick,
door = getUnit(2, “door”, 0);

	if (door) {
		do {
			if ((getDistance(door, x, y) < 4 && getDistance(me, door) < 9) || getDistance(me, door) < 4) {
				for (i = 0; i < 3; i += 1) {
					Misc.click(0, 0, door);
					//door.interact();

					tick = getTickCount();

					while (getTickCount() - tick < 1000) {
						if (door.mode === 2) {
							me.overhead("Opened a door!");

							return true;
						}

						delay(10);
					}
				}
			}
		} while (door.getNext());
	}