From 99489e37dfd620180b0053631b89c38c09bbb692 Mon Sep 17 00:00:00 2001 From: Niklas Kapelle Date: Sat, 13 Apr 2024 12:06:55 +0200 Subject: [PATCH] fixed hardcoded redstone type name --- src/kernel/peripherals/Peripherals.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/peripherals/Peripherals.hx b/src/kernel/peripherals/Peripherals.hx index 3030396..c344542 100644 --- a/src/kernel/peripherals/Peripherals.hx +++ b/src/kernel/peripherals/Peripherals.hx @@ -83,7 +83,7 @@ class Peripheral { return getPrinter(addr); case Speaker.TYPE_NAME: return getSpeaker(addr); - case "redstone": + case Redstone.TYPE_NAME: return getRedstone(addr); }