Codisimus / PhatLoots

Bukkit Plugin which provides highly configurable loot for all
http://codisimus.com/phatloots
18 stars 58 forks source link

Money and Exp upper limit not being obeyed #20

Closed neokyle closed 8 years ago

neokyle commented 9 years ago

The upper limit for both money and exp is not being obeyed. Here is a sample from one of my loot tables.

LootList:

When looting the chest with these rewards the upper limit can be exceeded by double. A majority of lootings don't have this issue, however occasionally it will surpass the upper limit.

I'm using phatloots 4.1.0 on the latest spigot 1.8 build. Using vault and essentials for the economy.

neokyle commented 9 years ago

Upon further testing I've discovered another issue possibly related to this one. I set the upper limit and lower limit for exp and money to the same numbers. 1000 for money, and 700 for exp. I then used /loot reload and tested my phatloot to see if the issue I originally reported persisted. It did, but this time the issue seems to have been made clearer. For money with the upper and lower limit set to 1000 I would usually get 1000, but sometimes I would get 2000. I noticed that occasionally I would also get 1000 for exp even though the upper and lower limit for exp were both set to 700.

So it would appear that whatever amount I receive is occasionally doubled and the limits for exp and money can get switched?

neokyle commented 9 years ago

After more testing it seems to only be an issue with money loot and exp loot in collections.

Codisimus commented 8 years ago

Could you please paste an example of a PhatLoot save file which has this problem?

Codisimus commented 8 years ago

Closed as cannot reproduce. If this continues to happen please create a new ticket.