Advanced Rocketry

Advanced Rocketry

21M Downloads

[BUG] biome remote crash potential fix

dercodeKoenig opened this issue ยท 1 comments

commented

nullpointer exception when rendering: crash when mouse over biome remote that has no biome set

potential fix:
in advancedRocketry/satellite/SatelliteBiomeChanger.java the biomeId is not initialized. when setbiome is not called there will be a nullpointer error in advancedRocketry/item/ItemBiomeChanger.java:81

this is exactly what happens. when satelite is launched and no biome is set, nullpointer exception when mouse over biome remote

there needs to be a default value and in ItemBiomeChanger there needs to be checked if a biome is selected before it displays the selected biome

commented

fixed in StannisMod#1