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

If you enter and leave the dressing room and then move to another world, an error appears. #161

Closed
4 tasks done
noveaya opened this issue Sep 20, 2023 · 1 comment
Closed
4 tasks done
Labels
type: other plugin bug This is another plugin bug.

Comments

@noveaya
Copy link

noveaya commented Sep 20, 2023

Terms

  • I'm using the very latest version of CosmeticsCore and its dependencies.
  • I already searched on this Github page to check if the same issue was already reported.
  • I already searched on the plugin wiki to know if a solution is already known.
  • I already searched on the Discord server to know if anyone already provided a solution in the past for the issue.

Discord tag (optional)

hyun_2_

What happened?

If you enter and leave the dressing room and then move to another world, an error appears.

Steps to reproduce the issue

https://youtu.be/kA-Lbu_riv4

Server version

mohist-1.20.1-437-server

CosmeticsCore Version

CosmeticsCore_1.2.2f

ProtocolLib Version

ProtocolLib v5.1.0-SNAPSHOT-654

LoneLibs Version

1.0.25

FULL server log

[16:54:21 WARN]: java.lang.IllegalArgumentException: Cannot measure distance between world and lobby
[16:54:21 WARN]: at TRANSFORMER/[email protected]/org.bukkit.Location.distanceSquared(Location.java:501)
[16:54:21 WARN]: at com.ticxo.modelengine.api.nms.entity.impl.ManualRangeManager.updatePlayer(ManualRangeManager.java:37)
[16:54:21 WARN]: at dev.lone.cosmeticscore.main.v.U(SourceFile:276)
[16:54:21 WARN]: at dev.lone.cosmeticscore.main.v.g(SourceFile:194)
[16:54:21 WARN]: at dev.lone.cosmeticscore.main.i.g(SourceFile:141)
[16:54:21 WARN]: at dev.lone.cosmeticscore.main.j.A(SourceFile:74)
[16:54:21 WARN]: at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
[16:54:21 WARN]: at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
[16:54:21 WARN]: at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
[16:54:21 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[16:54:21 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[16:54:21 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)

Error (optional)

[16:54:21 WARN]: java.lang.IllegalArgumentException: Cannot measure distance between world and lobby
[16:54:21 WARN]:        at TRANSFORMER/[email protected]/org.bukkit.Location.distanceSquared(Location.java:501)
[16:54:21 WARN]:        at com.ticxo.modelengine.api.nms.entity.impl.ManualRangeManager.updatePlayer(ManualRangeManager.java:37)
[16:54:21 WARN]:        at dev.lone.cosmeticscore.main.v.U(SourceFile:276)
[16:54:21 WARN]:        at dev.lone.cosmeticscore.main.v.g(SourceFile:194)
[16:54:21 WARN]:        at dev.lone.cosmeticscore.main.i.g(SourceFile:141)
[16:54:21 WARN]:        at dev.lone.cosmeticscore.main.j.A(SourceFile:74)
[16:54:21 WARN]:        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
[16:54:21 WARN]:        at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
[16:54:21 WARN]:        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
[16:54:21 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[16:54:21 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[16:54:21 WARN]:        at java.base/java.lang.Thread.run(Thread.java:833)

CosmeticsCore config.yml

No response

Problematic items yml configuration file (optional)

No response

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

https://youtu.be/kA-Lbu_riv4

@noveaya noveaya added the type: bug Something isn't working label Sep 20, 2023
@LoneDev6 LoneDev6 moved this to Todo in Other plugins Sep 29, 2023
@LoneDev6 LoneDev6 added this to the 1.2.3-r2 milestone Nov 7, 2023
@LoneDev6
Copy link
Contributor

This is a bug of ModelEngine since it's trying to measure distance from two worlds, I cannot fix its code, contact its developer.

@LoneDev6 LoneDev6 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 18, 2023
@LoneDev6 LoneDev6 removed this from the 1.2.3-r2 milestone Nov 18, 2023
@LoneDev6 LoneDev6 removed the status in Other plugins Nov 18, 2023
@LoneDev6 LoneDev6 added type: other plugin bug This is another plugin bug. and removed type: bug Something isn't working labels Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: other plugin bug This is another plugin bug.
Projects
Status: No status
Development

No branches or pull requests

2 participants