Closed BluXDragon closed 11 years ago
Wouldn't a break do instead of continue blockLoop; ? I don't really know what the labels do 100% so I may be wrong.
WWOL
break on its own would end the "for (int i : ignoredList)" loop, and it would just return the current block. Doing so makes it not work at all if it has more than one value in "ignoredList". "continue blockLoop" continues the while loop instead.
I was very happy when I found out about this labelling :3
Ah I see, thanks.
WWOL
Are you sure you can't make a pull request? I believe you have to fork the project, edit your version, and then make a pull request from there.
I coded for myself a method that obtains a target block from HitBlox while ignoring specified blocks instead of just air. So if ignoredList is {0, 8, 9} the hitblox will not stop at water, for example. 0 is necessary, as I figured one day I might need a hitblox that checks for air.