erogenousbeef-zz / BigReactors

Big Reactors mod for Minecraft
MIT License
153 stars 102 forks source link

Changes metadata range in getIcon from 0-5 to 0-4 #479

Closed Yuri4171 closed 9 years ago

Yuri4171 commented 9 years ago

getIcon throws an exception if metadata => 5. This alters getIcon so that _icons[metadata] won't cause a crash if the incoming metadata is 5 or greater.

erogenousbeef-zz commented 9 years ago

Thanks!