OpenMods / OpenPeripheral

https://openmods.info
MIT License
67 stars 25 forks source link

No peripheral on Ender io telepad #266

Closed TobiasHeidlund closed 8 years ago

TobiasHeidlund commented 8 years ago

When i wrap it as a peripheral i get one functon named hello_segfault and prints "This peripheral is broken"

http://pastebin.com/KsR3Nvvg

boq commented 8 years ago

This class contains field with client-only type. I can't do anything on my side..

Vexatos commented 8 years ago

@boq You could simply ignore exceptions like that and return null instead of a broken peripheral. I also had issues because of that and had to do this to fix it...

@tubs5 for what it's worth, official EnderIO support for ComputerCraft or OpenComputers is in Computronics, not in OpenPeripheral (they both work together rather well). Telepad support will be added in the next version.

boq commented 8 years ago

Well, at one point I changed behaviour and allowed exception to propagate. I will see if I can restore it.

Anyway, this problem can be fixed by simple @SideOnly.

PS. "Official". We already had discussion about our different understanding of this word.