Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG REPORT]: Console error. #18

Closed
LYRYCAL opened this issue Aug 14, 2024 · 6 comments
Closed

[BUG REPORT]: Console error. #18

LYRYCAL opened this issue Aug 14, 2024 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@LYRYCAL
Copy link

LYRYCAL commented Aug 14, 2024

Version of the Script

1.2.4

Describe the bug

Everytime try to give fertilizer & water to the plants.
Im using ps-inventory.
Screenshot_9

To Reproduce

1. Planting weed.
2. Try to give fertilizer & water to the plants.
3. Error show up on the console.

Relevant log output

No response

@LYRYCAL LYRYCAL added the bug Something isn't working label Aug 14, 2024
@TheRockZz
Copy link

hey, same bug over here. after some testing we found out that the script is pushing the error because you dont have all 4 drug items if you have all 4 in your inventory you dont get any error.

@AllRoundJonU
Copy link
Member

Hey @TheRockZz thanks for this Information I will check this and it will be fixed in the next version

@AllRoundJonU
Copy link
Member

@TheRockZz Does the bug occur when the menu with the items for watering or fertilizing opens or only when you select an item?

@TheRockZz
Copy link

@AllRoundJonU Sorry for my late reply, the bug occurs when the menu for watering and fertilizing is opened. In debug mode, only the debug message
“[ script:it-drugs] [it-drugs] The item liquid_fertilizer does not exist in the inventory.” is displayed in the server console.

Without debug mode the error.

The Script error only occurs if a player does not have all 4 possible items in their inventory for fertilizing and watering.

@AllRoundJonU
Copy link
Member

Okay @TheRockZz for the details. I reworte the complete bridge for version 1.3.0 I hope this will fix this error

@AllRoundJonU
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants