Removed door dialogue in the stronghold of security

No need to explain how to secure your account over and over, we aren't kids.
This commit is contained in:
randy 2024-11-20 19:39:50 -07:00
parent 6cca2d1bed
commit 6ed0ead8a7

View file

@ -223,12 +223,16 @@ public final class StrongHoldSecurityPlugin extends MapZone implements Plugin<Ob
* @param object the object.
*/
private static void handleDoor(final Player player, final Scenery object) {
openDoor(player, object);
return;
/* Snowscape custom: no dialogue in the stronghold
final boolean force = isForced(player, object);
if (force || RandomFunction.random(40) < 2) {
openDoor(player, object);
return;
}
player.getDialogueInterpreter().open("strong-hold", object);
*/
}
/**