Commit Graph
9 Commits
Author SHA1 Message Date
Kam 2dfdfb19d1 Client-side trade validation and stock update
Perform more complete client-side checks before predicting currency deductions in GuiNPCTrader.handleMouseClick. The method now verifies that the item can be given to the player (canGivePlayerClient), that the slot is enabled, and that stock is available, mirroring server-side checks. When a client-side purchase is accepted, availableStock is decremented if applicable. Added a private canGivePlayerClient(ItemStack) helper to check cursor-stack compatibility and max stack size. These changes prevent the UI from showing incorrect balances for trades the server would reject.
2026-02-15 18:15:56 -05:00
Kam b719856762 Balance Prediction Client Side Trader 2026-02-04 14:45:47 -05:00
Kam 1b8ad4dd90 Player Abilities 2026-01-30 05:01:54 -05:00
Kam d0dc8a4578 Trader System + Stocks Implemented
- Removed Auction System Temporarily for Full Rebase
2026-01-22 12:38:56 -05:00
Kam 180d257024 Proper Reformating 2025-03-13 17:14:45 -04:00
KAMKEEL bda76bafe6 Optimize Imports 2023-01-12 21:33:06 -05:00
1whohears 5edb08945e changed slot disabled label color 2022-06-06 14:39:10 -05:00
1whohears 422dd3fc90 added trader.slotdisabled to trader gui
I just copied what was done to display the trader.insufficient and added trader.slotdisabled to en_US.lang
2022-05-26 01:43:17 -05:00
KAMKEEL a31efb2dc3 1.7.10 Files
Files added
2018-09-13 12:03:28 -04:00