From ac074d0aa7c2ecac696f9c1d6bea201b29e58d81 Mon Sep 17 00:00:00 2001 From: aidan Date: Wed, 8 Apr 2026 11:10:39 -0500 Subject: [PATCH] Revert "remove the regionChunk hack" This reverts commit 205f0fd748e02b47a79daffd35b6eb366d5b66fb. --- .../seers/quest/elementalworkshop2/EW2Listeners.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Server/src/main/content/region/kandarin/seers/quest/elementalworkshop2/EW2Listeners.kt b/Server/src/main/content/region/kandarin/seers/quest/elementalworkshop2/EW2Listeners.kt index d11510a30..40ba3aa29 100644 --- a/Server/src/main/content/region/kandarin/seers/quest/elementalworkshop2/EW2Listeners.kt +++ b/Server/src/main/content/region/kandarin/seers/quest/elementalworkshop2/EW2Listeners.kt @@ -1049,7 +1049,7 @@ class EW2Listeners : InteractionListener { // I have commented out what would be the correct function below in case the issue ever gets fixed. // As a hack, the player is only allowed to place the medium cog below the small cog. // You can't remove the medium cog because it throws an exception (resetting the varbit will 'remove' the cog). kill me. - /*onUseWith(IntType.SCENERY, intArrayOf(Items.MEDIUM_COG_9725), 18673) { player, item, _ -> + onUseWith(IntType.SCENERY, intArrayOf(Items.MEDIUM_COG_9725), 18673) { player, item, _ -> when(item.id) { Items.MEDIUM_COG_9725 -> { setVarbit(player, EW2CogVarbit2, 2, true) @@ -1059,9 +1059,9 @@ class EW2Listeners : InteractionListener { } } return@onUseWith true - }*/ - + } + /* // use cog with pin 2 // pin 2: 2656: val 0 is scenery 18664 (pin). val 1 is scenery 18667 (small cog). val 2 is scenery 18668 (med cog). val 3 is scenery 18669 (large cog) onUseWith(IntType.SCENERY, intArrayOf(Items.SMALL_COG_9726, Items.MEDIUM_COG_9725, Items.LARGE_COG_9724), Scenery.PIN_18664) { player, item, _ -> @@ -1087,7 +1087,7 @@ class EW2Listeners : InteractionListener { } return@onUseWith true } - + */ // use cog with pin 3 // pin 3: 2657: val 0 is scenery 18666 (pin). val 1 is scenery 18670 (small cog). val 2 is scenery 18671 (med cog). val 3 is scenery 18672 (large cog)