tomkeuper / BedWars2023

A minecraft minigame where you have to defend your bed and destroy the others. Once your bed is destroyed, you cannot respawn.
GNU General Public License v3.0
55 stars 16 forks source link

Shop Can & Can't Buy Color + Shop Lore Quick Remove Messages #251

Open ritana5 opened 6 months ago

ritana5 commented 6 months ago

Make sure to check before creating a Bug Report

Type of problem

Gameplay Bug

What happened?

If you were to go into the shop with 12 gold, and buy and iron sword, after you bought it the iron sword name will turn to the Can't Buy Color, but things that you could afford when you first entered the shop but not now, e.g. iron armor, still show as the Can Buy Color. It only updates if yo reopen the shop. Also, the Lore Quick Remove text only shows up in the Lore after you buy an item in your quickbuy, and only for some items.

Expected Behaviour

Every time you buy an item, all the items should update to the new Can Buy and Can't Buy Color with the new amount of resources you have without having to reopen the shop. The Lore Quick Remove text should automatically show up for all items in your quickbuy .

How to Reproduce

Go into a game, go to shop, buy items with certain resource amounts, hover over and buy items in quickbuy.

Console Log

No response

Errors

No response

Additional Info

No response

Xiro0419 commented 6 months ago

+1

ritana5 commented 5 months ago

One small quality of life bug related to this still left is the quickbuy text still doesn't show on items right when you open the shop but once you buy an item it all shows as intended