Hi folk!
So I am rewriting my dice system at the moment, optimizing along the way. In this case changing ints to bytes... and although it appears to be working fine (it is working). I'm getting the IDE underlining telling me something isn't right?
I've pulled out the "offending" code into a test class to show you here without all the unnecessaries.
You'll see I get a message saying "The constant value `null` used in comparison appears earlier in the chained if-else statement. The condition never evaluates to true"
Question; is the IDE wrong or am I wrong?