fixed hardcoded redstone type name

This commit is contained in:
Niklas Kapelle 2024-04-13 12:06:55 +02:00
parent 86f6dbf302
commit 99489e37df
Signed by: niklas
GPG Key ID: 4EB651B36D841D16

View File

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