Project Red - Fabrication

Project Red - Fabrication

19M Downloads

Router Utility Crash

MrMaleficus opened this issue · 6 comments

commented

Hello, i encounter this issue when i using the Router Utility

http://pastebin.com/q4CZqDWL

I use the latest version of my Cauldron (MCPC+) Server
MM

commented

Possible fixes, need testing:

items.scala -> ItemRouterUtility.openGui -> use the built in gui handler instead of relying on the Gui class which is client only.

Hotfix:
items.scala -> ItemRouterUtility.onItemUse -> !w.isRemote to w.isRemote to make it activate on client side.

commented

No, that will break the container. Theres probably just a missing @SideOnly somewhere

commented

It won't break it, why would it do that? World.isRemote == Side.CLIENT...

commented

Containers have to be opened serverside first, side only is going on another method. I'll fix it, don't worry about it..

On Jun 23, 2014, at 6:34 PM, Kenzie Togami [email protected] wrote:

It won't break it, why would it do that? World.isRemote == Side.CLIENT...


Reply to this email directly or view it on GitHub.

commented

Alright, but remember that use of SideOnly should be limited where possible (see the javadocs)

commented

Fixed via d8b093f