pterodactyl / whmcs

WHMCS Module for Pterodactyl (v0.7.3 and higher)
MIT License
183 stars 77 forks source link

When the user downgrades his server, his egg is changed to the first available option in the configuration list. #109

Open r-kjha opened 2 years ago

r-kjha commented 2 years ago

I found a bug in the module. When the user downgrades his server, his egg is changed to the first available option in the configuration list.

image

Works fine for upgrades tho.

TrixterTheTux commented 2 years ago

Chances are the UI defaults to the first option when performing the actual upgrade/downgrade and thus sets it for the module - the module itself has no control over what value gets selected (or shown).