EssentialsX

EssentialsX

2M Downloads

Command cost takes all of the money

brandonsay95 opened this issue ยท 1 comments

commented

Type of bug

Other unexpected behaviour

/ess version output

[20.07 22:57:46] [Multicraft] darkderank ran command: ess version
[20.07 22:57:53] [Server] [INFO] CONSOLE issued server command: /ess version
[20.07 22:57:53] [Server] [INFO] Server version: 1.17-R0.1-SNAPSHOT git-Paper-79 (MC: 1.17)
[20.07 22:57:53] [Server] [INFO] EssentialsX version: 2.18.2.0
[20.07 22:57:53] [Server] [INFO] LuckPerms version: 5.3.47
[20.07 22:57:53] [Server] [INFO] Vault version: 1.7.3-b131
[20.07 22:57:53] [Server] [INFO] EssentialsXChat version: 2.18.2.0
[20.07 22:57:53] [Server] [INFO] EssentialsXSpawn version: 2.18.2.0
[20.07 22:57:53] [Server] [INFO] Citizens version: 2.0.28-SNAPSHOT (build 2347)
[20.07 22:57:53] [Server] [INFO] ChestShop version: 3.12 (build 307)
[20.07 22:57:53] [Server] [INFO] You are running an unsupported server version!
[20.07 22:57:53] [Multicraft] darkderank ran command: ess version

Server startup log

https://paste.gg/p/anonymous/890cb197c7634745bc83c19b3c782a87

EssentialsX config files

https://paste.gg/p/anonymous/ead6bfbafcb94434be54fefae89a79cc

Error log (if applicable)

No response

Bug description

When setting
command-costs:
kit-tools: 25
kit-ifulltools: 975

and user has more than the required amount command uses all the money

Steps to reproduce

set command-cost of any command
set to $10(any number under users max works)
set user money to $1000(any number works)
run command
user money is set to zero

Expected behaviour

user should have money deducted ,not set to zero.

Actual behaviour

user money gets set to zero

commented

Cannot reproduce on latest dev build.