barcode-reader: Oops, turns out if you try and scan literally anything else, it'll break the scan.

This commit is contained in:
Amanda Cameron 2020-05-02 16:59:27 -04:00 committed by payonel
parent ad5443c415
commit db91f2c601

View File

@ -48,8 +48,11 @@ class UpgradeBarcodeReader(val host: EnvironmentHost) extends prefab.ManagedEnvi
processNodes(Array(host.sidedNode(side)), nbt)
case host: Environment =>
processNodes(Array(host.node), nbt)
case _ => // Ignore
}
case _ => // Ignore
}
case _ => // Ignore
}
}