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); }