Hey guys, i want to ask why my code its not working right, its like when i sell a rotten fresh its giving me the money but its clair my whole inventory and i lost all my items!
'Month-01-1': material: ROTTEN_FLESH slot: 11 priority: 1 update: true display_name: "&b&nRotten Flesh" lore: - " " - "&fBuy price: &a$0.75" - "&fSell Price: &#FF2020$0.25" - " " - "&8⟶ Left click to buy" - "&8⟶ Right click to sell" left_click_requirement: requirements: hasMoney: type: ">=" input: "%vault_eco_balance%" output: "0.75" deny_commands: - "[message] &cYou do not have enough money!" left_click_commands: - "[takemoney] 3000" - "[console] minecraft:give %player_name% minecraft:rotten_flesh 1" right_click_requirement: requirements: has_item: type: has item material: 'ROTTEN_FLESH' amount: 1 deny_commands: - '[message] &cYou don''t have enough &6ROTTEN FLESH &cto sell! Required: 1' right_click_commands: - '[console] clear %player_name% ROTTEN_FLESH 1' - '[console] eco give %player_name% 50' - '[message] &aYou sold 1 &6ROTTEN FLESH &afor $50' view_requirement: requirements: available: type: '==' input: '%localtime_timezone_Europe/Berlin,M%' output: '1'