You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
The Vector class(org.bukkit.util.Vector) 's random XYZ value, which contains decimal, becomes an integer value permantly.
Which value becomes an integer is changes randomly every time the server is run.
To reproduce
Steps to reproduce the behavior. If applicable, add a script or code snippet here.
it is code i used
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
case 1, Z is integer forever
case 2, all XYZ is integer
case 3,everything is fine
Server information
skript-reflect: 2.4
Skript: 2.8.0
Bukkit: Purpur 1.20.2
Minecraft: 1.20.2
Java: jdk-17
OS: Window 11
Additional context
Add any other context about the problem here.
I found this bug when im using Skript 2.6.4 + Skript-reflect 2.3
The text was updated successfully, but these errors were encountered:
++
I Tested by logging.
i expect this bug is from "Optional method = findCompatibleMethod(descriptor, argumentsCopy);" in "ExprJavaCall" class's "private T invoke(Object target, Object[] arguments, Descriptor baseDescriptor)" method. every time server restarts, X Y Z values set to int,float,double randomly.
Describe the bug
A clear and concise description of what the bug is.
The Vector class(org.bukkit.util.Vector) 's random XYZ value, which contains decimal, becomes an integer value permantly.
Which value becomes an integer is changes randomly every time the server is run.
To reproduce
Steps to reproduce the behavior. If applicable, add a script or code snippet here.
it is code i used
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
case 1, Z is integer forever
case 2, all XYZ is integer
case 3,everything is fine
Server information
Additional context
Add any other context about the problem here.
I found this bug when im using Skript 2.6.4 + Skript-reflect 2.3
The text was updated successfully, but these errors were encountered: