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

Using Spectator Mode player navigation menu will crash the server. #314

Open
Tudorhc5 opened this issue Dec 27, 2024 · 2 comments
Open

Using Spectator Mode player navigation menu will crash the server. #314

Tudorhc5 opened this issue Dec 27, 2024 · 2 comments
Labels
status: needs triage type: bug Something doesn't work as it was intended to.

Comments

@Tudorhc5
Copy link

Expected behavior

In spectator mode, the hotbar transforms to a menu, which lets you navigate between players on the server, and teleport to them.

In the tested use-case: Spectator is in Nether, Player "To Be Spectated" is in overworld.

When using this menu, you just expect to get teleported to that player, including a smooth dimension switch.

Observed/Actual behavior

When trying to use the spectator mode menu, to teleport to a player that is in another dimension, the server crashes.

Click me for error log
Click me for complete server logg

Steps/models to reproduce

  1. Req: Server, 2-3 people
  2. Be in a different dimension than the player you want to teleport to. Have 1 player in a different dimension
  3. Set you game-mode to spectator
  4. OPTIONAL have a player in the same dimension with you, and spectate him normally, clicking on his character.
  5. Try to teleport to the player in the different dimension using spectator mode navigation menu.

Plugin and Datapack List

[12:10:36 INFO]: Server Plugins (64):
[12:10:36 INFO]: Paper Plugins:
[12:10:36 INFO]:  - CrazyCrates, FancyNpcs, TempFly
[12:10:36 INFO]: Bukkit Plugins:
[12:10:36 INFO]:  - AntiPopup, AxAFKZone, AxAuctions, AxEnvoy, AxInventoryRestore, AxPlayerWarps, AxShulkers, AxVaults, BetterGUI, BlueMap
[12:10:36 INFO]:  BlueMapPlayerControl, BungeeGuard, ChestShop, CMI, CMIEInjector, CMILib, CommandBlocker, CommandWhitelist, CoreProtect, Craftorithm
[12:10:36 INFO]:  CustomAnvil, DiscordSRV, EternalTags, fairy-lib-plugin, FurnitureLib, GrimAC, HeadDatabase, InteractiveBoard, JPremium, Lands
[12:10:36 INFO]:  LeaderOS, LiteBans, LuckPerms, Mclogs, mcMMO, McmmoGuiV2, packetevents, PlaceholderAPI, Plan, PlayerCrasher
[12:10:36 INFO]:  PlayerViewDistanceController, PrimeSeller, Protect, ProtocolLib, raytraced-antixray, raytraced-entity-culling, raytraced-tile-culling, SafariNet, SuperHarvest, TAB
[12:10:36 INFO]:  ToolStats, TradeMe, Vault, ViaBackwards, ViaRewind, ViaVersion, voicechat, VotingPlugin, WorldEdit, WorldGuard
[12:10:36 INFO]:  WorldGuardExtraFlags

No datapacks.

Folia version

You are running the latest version```

### Other

Who knows, maybe I'm an idiot.
@Tudorhc5 Tudorhc5 added status: needs triage type: bug Something doesn't work as it was intended to. labels Dec 27, 2024
@Runkang10
Copy link

Maybe is because of Paper Teleport API is broken on Folia... I don't know.

@Tudorhc5
Copy link
Author

Tudorhc5 commented Jan 1, 2025

Maybe is because of Paper Teleport API is broken on Folia... I don't know.

I know many parts of the API are broken, but as far as I can tell its a bug and not a feature. A piece of advice would be: If you have nothing useful to add or contribute, maybe abstain from saying something useless or obvious @Runkang10
I see Stabrinai mentioned #173 as its the same problem or similar, I saw that is closed now so this should stay open IMO.

If I can help with further testing please feel free to reach out to me
discord: tudorhc5
or contact me at [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage type: bug Something doesn't work as it was intended to.
Projects
None yet
Development

No branches or pull requests

2 participants