Describe the bug
Game crash upon placing a circuit with UUID (created circuit, idk how to name this)
To Reproduce
Steps to reproduce the behavior:
- Place circuit
- Enter circuit
- Exit circuit
- Place the circuit that dropped
Expected behavior
Game doesn't crash
Screenshots
Code fix for this crash:
In CommonCircuitBlockEntity simply replace normal cast to byte/int with cast to Short and byteValue/intValue

Desktop (please complete the following information):
- Mod loader: Fabric
- Minecraft version: 1.21.11
- Mod version: v1.0.9-1.21.11-fabric
Describe the bug
Game crash upon placing a circuit with UUID (created circuit, idk how to name this)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Game doesn't crash
Screenshots

Code fix for this crash:
In CommonCircuitBlockEntity simply replace normal cast to byte/int with cast to Short and byteValue/intValue
Desktop (please complete the following information):