BentoBoxWorld/Upgrades

InventoryClickEvent error

myavuzokumus opened this issue · 8 comments

Description

Describe the bug

image

Environment

Output of /bbox version (Mandatory)

image

Well, I didn't yet look for compatibility with 1.16.

I will look for the compatibility after I have finished my other task.

BONNe commented

It looks like there is '-' (negative) cost applied to some upgrade.

Oh, yes, for the money cost. What is your configuration ?

Which upgrade is doing this bug? All?

Island levels drop when they break their islands completely. Multiply by the number you want, but it will be - as it will be the price.

[numberPlayer][islandLevel][level]*50

if islandlevel its -3 or anythink it will be - cost.

Oh right, sometimes level return negative level. I guess I'll add a check to set a default level to 1

I have set a default island level to 0. Like the level addon on default.

So be careful, using * with island level may result in 0