From 426c6729c3be94ec5f8c98fdef64db41edcc9182 Mon Sep 17 00:00:00 2001 From: unimatrixgit <95320811+unimatrixgit@users.noreply.github.com> Date: Wed, 2 Dec 2026 11:59:30 +0100 Subject: [PATCH] Pin the actual installed Towny filename --- tools/allow-giedi-nether-pearl.py | 2 +- tools/test_giedi_nether_pearl.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/allow-giedi-nether-pearl.py b/tools/allow-giedi-nether-pearl.py index 763710c7..eb45e483 100644 --- a/tools/allow-giedi-nether-pearl.py +++ b/tools/allow-giedi-nether-pearl.py @@ -84,7 +84,7 @@ def run(apply): if service('is-active', UNIT) != 'active' or service('show', UNIT, '--property=WorkingDirectory', '--value') != str(ROOT): raise ValueError('Expected the active Giedi Prime server') plugins = ROOT / 'plugins' - towny = plugins / 'Towny.jar' + towny = plugins / 'Towny-0.103.2.0.jar' config = plugins / 'Towny/settings/config.yml' worlds = plugins / 'Towny/data/worlds' target = worlds / f'{WORLD}.txt' diff --git a/tools/test_giedi_nether_pearl.py b/tools/test_giedi_nether_pearl.py index 3fb5604f..b051481c 100644 --- a/tools/test_giedi_nether_pearl.py +++ b/tools/test_giedi_nether_pearl.py @@ -31,7 +31,7 @@ class GiediNetherPearlTests(unittest.TestCase): def test_plan_and_apply_use_only_the_reviewed_world_file(self): with TemporaryDirectory() as temp: root = Path(temp).resolve() - towny = root / 'plugins/Towny.jar' + towny = root / 'plugins/Towny-0.103.2.0.jar' config = root / 'plugins/Towny/settings/config.yml' world = root / 'plugins/Towny/data/worlds/giedi_prime_nether.txt' sibling = world.with_name('giedi_prime.txt')