SirEdvin / UnlimitedPeripheralWorks

Extreme compact CC:R and CC:T mod that tries to make everything, that even possible a peripheral
MIT License
8 stars 3 forks source link

fix fluid tally in ME networks and update peripheralium #6

Closed mblaze closed 1 year ago

mblaze commented 1 year ago

I've tested your mod today (mainly for the integration with AE2) and found out that the listing of fluids (tanks Lua function) in an ME network always returns an empty table. I prepared a fix and tested it in a simple scenario. It seems to work. What caused problems in your implementation is a missing items.add(data). For that reason I've refactored it to use a map so that similar mistake is not possible in the future.

I had to update peripheralium as well because when I published it locally from the 1.18 branch then it was not the right version.

SirEdvin commented 1 year ago

Again, thanks for contribution. I finally have time and electricity to get to this. I hope I will release update to the end of this week

SirEdvin commented 1 year ago

Btw, this was released with 0.2.2