Hexal

Hexal

5M Downloads

Capacity Reflection Takes Incorrect Number of Arguments

jojotastic777 opened this issue ยท 1 comments

commented

The documentation claims that Capacity Reflection takes no parameters and returns the remaining capacity of the bound Mote Nexus. What Capacity Reflection actually does is it takes a single parameter, a vector, and returns the remaining capacity for the Mote Nexus at that position.

Trying to use Capacity Reflection as the documentations says it should be used results in the following error: Capacity Reflection expected 1 or more arguments but the stack was empty

Passing a vector which is not the position of a Mote Nexus results in the following error: Capacity Reflection threw an exception (java.lang.IndexOutOfBoundsException: Index: 1, Size: 1). This is a bug in the mod.

commented

Alright fixed this by making Capacity Reflection standardised with the rest and just use your bound nexus.