McJtyMods / RFTools

A set of blocks and items to help with RF in general. Currently contains a Dimension Builder, Teleportation System, Shield System, RF monitor, an RF network debug tool and an automatic crafter
MIT License
228 stars 88 forks source link

[5.84] placing power cell next to an incomplete WOOT farm crashes server #1046

Closed kreezxil closed 7 years ago

kreezxil commented 7 years ago

http://pastebin.com/saDxrTkP

McJty commented 7 years ago

Report with WOOT. That's a bug where they don't correctly handle 'null' direction for energy in their energy capability handler (you can tell them that). i.e. basically hasCapability with null facing returns true but getCapability with null facing returns null. That's a bug. Best is that they support null facing correctly

Ipsis commented 7 years ago

McJty,, I'm having a bit of trouble understanding the issue here and I just want to make sure that I'm handling this correctly. I also cannot replicate the problem so I'm down to code inspection.

From the below in my TileEntityMobFactory class

McJty commented 7 years ago

Sorry, didn't yet have time to check this out. Will try to check tomorrow

Ipsis commented 7 years ago

McJty please ignore the information I provided. Kreezxil has now helped me reproduce the issue and it is with a different TE (in my mod) than originally reported. That other TE does look like it can return true for hasCapability but null for getCapability.