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

A null world reference exception can still occur in rare cases #603

Closed
Shynixn opened this issue Aug 1, 2024 · 0 comments
Closed

A null world reference exception can still occur in rare cases #603

Shynixn opened this issue Aug 1, 2024 · 0 comments
Labels

Comments

@Shynixn
Copy link
Owner

Shynixn commented Aug 1, 2024

java.lang.IllegalArgumentException: Cannot measure distance to a null world
at org.bukkit.Location.distanceSquared(Location.java:508) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
at org.bukkit.Location.distance(Location.java:493) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
at PetBlocks-Premium.jar/com.github.shynixn.petblocks.impl.PetImpl.moveTo(PetImpl.kt:524) ~[PetBlocks-Premium.jar:?]
at PetBlocks-Premium.jar/com.github.shynixn.petblocks.impl.commandexecutor.PetBlocksCommandExecutor.walkToLocation(PetBlocksCommandExecutor.kt:833) ~[PetBlocks-Premium.jar:?]
at PetBlocks-Premium.jar/com.github.shynixn.petblocks.impl.commandexecutor.PetBlocksCommandExecutor.access$walkToLocation(PetBlocksCommandExecutor.kt:35) ~[PetBlocks-Premium.jar:?]
at PetBlocks-Premium.jar/com.github.shynixn.petblocks.impl.commandexecutor.PetBlocksCommandExecutor$commandBuilder$1$8$4.invokeSuspend(PetBlocksCommandExecutor.kt:381) ~[PetBlocks-Premium.jar:?]
at PetBlocks-Premium.jar/com.github.shynixn.petblocks.impl.commandexecutor.PetBlocksCommandExecutor$commandBuilder$1$8$4.invoke(PetBlocksCommandExecutor.kt) ~[PetBlocks-Premium.jar:?]
at PetBlocks-Premium.jar/com.github.shynixn.petblocks.impl.commandexecutor.PetBlocksCommandExecutor$commandBuilder$1$8$4.invoke(PetBlocksCommandExecutor.kt) ~[PetBlocks-Premium.jar:?]
at PetBlocks-Premium.jar/com.github.shynixn.petblocks.lib.com.github.shynixn.mcutils.common.command.ArgumentC.onCommand$common(ArgumentC.kt:53) ~[PetBlocks-Premium.jar:?]
at PetBlocks-Premium.jar/com.github.shynixn.petblocks.lib.com.github.shynixn.mcutils.common.command.CommandBuilder.onCommand(CommandBuilder.kt:160) ~[PetBlocks-Premium.jar:?]
at PetBlocks-Premium.jar/com.github.shynixn.petblocks.lib.com.github.shynixn.mcutils.common.command.CommandBuilder.onCommand(CommandBuilder.kt:158) ~[PetBlocks-Premium.jar:?]

@Shynixn Shynixn added the bug label Aug 1, 2024
Shynixn pushed a commit that referenced this issue Aug 13, 2024
Shynixn pushed a commit that referenced this issue Aug 13, 2024
@Shynixn Shynixn closed this as completed Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant