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

Fixed Crash in Utils #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

shreyop200
Copy link

Server Getting Crashed on Line 22-23 For Implicit conversion from float to int loses precision

CRASHDUMP LOOK:
Error: Implicit conversion from float 12744.516666666666 to int loses precision File: plugins/PiggyAuctions-master/src/DaPigGuy/PiggyAuctions/utils/Utils

12744.516666666666 CAN BE ANY OTHER NUMBER.

Please make sure your issue complies with these guidelines:

    • Use same formatting
    • Changes must have been tested on PMMP.
    • Unless it is a minor code modification, you must use an IDE.
    • Have a detailed title.

What does the PR change?

  • resolve a bug

Testing Environment

  • PocketMine-MP: 4.23.6 [Protocol 594]
  • PHP: 8.1.22
  • Server OS: Linux

Extra Information

Server Getting Crashed on Line 22-23 For Implicit conversion from float to int loses precision

CRASHDUMP LOOK:
Error: Implicit conversion from float 12744.516666666666 to int loses precision
File: plugins/PiggyAuctions-master/src/DaPigGuy/PiggyAuctions/utils/Utils

12744.516666666666 CAN BE ANY OTHER NUMBER.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant