From 029e8de8527f1f58b39c89130306f96ee3622b03 Mon Sep 17 00:00:00 2001 From: Kara Alexandra Date: Sat, 24 Jan 2026 20:58:20 -0600 Subject: [PATCH] Log teleporter replacements instead of printing to STDOUT --- BaseClasses.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseClasses.py b/BaseClasses.py index d45aac62..c273a26a 100644 --- a/BaseClasses.py +++ b/BaseClasses.py @@ -219,7 +219,7 @@ class World(object): else: if item.name == 'Teleporter': from Items import ItemFactory - print('Cannot assign item %s to location %s, replacing with red rupee.' % (item, location)) + logging.getLogger('').info('Cannot assign item %s to location %s, replacing with red rupee.' % (item, location)) self.push_item(location, ItemFactory('Rupees (20)', item.player), collect) else: raise RuntimeError('Cannot assign item %s to location %s.' % (item, location))