killerprojecte / Folia

A fork of Folia working to support more bukkit plugins
GNU General Public License v3.0
66 stars 9 forks source link

The bukiit plugin teleports no chunk causing them to fall into the void and does not die #8

Closed 347180440 closed 11 months ago

347180440 commented 1 year ago

Expected behavior

I tested two guild plugins, Guilds-3.5.6.9 and PlayerGuild-1.9.6, using the Back to Guild Main City directive

Observed/Actual behavior

It can be teleported, but the server will not send blocks to the player, causing the player to fall into the void all the way and will not die

Steps/models to reproduce

The player's guild returns to the city

Plugin and Datapack List

[15:28:35 INFO]: Server Plugins (58): [15:28:35 INFO]: Bukkit Plugins: [15:28:35 INFO]: - ajLeaderboards, AntiCropTrampleFolia, ArtMap, AtLite, Ball, BlockLocker, BlueMap, BlueMapSignMarkers, Cgifts, Chat2QQ [15:28:35 INFO]: ChatColor2, ChatTPA, CoreProtect, cupbot, CustomJoinAndQuitMessages, DecentHolograms, DraconyxPro, EasyCommand, EClean, Essentials [15:28:35 INFO]: EssentialsSpawn, EzChestShop, FartherViewDistance, GSit, Guilds, InvSeePlusPlus, InvSeePlusPlus_Clear, InvSeePlusPlus_Give, Ip2region, JukeboxExtendedReborn [15:28:35 INFO]: LibsDisguises, LinearBot, LiteItemShow, LiveRecorder, LuckPerms, MessageOverHead, MinesweeperMC, MiraiMC, Morphy, OnlineRewards [15:28:35 INFO]: PlaceholderAPI, Plan, PlayerGuild, PlayerTop, PlugMan, PowerBoard, ProtocolLib, RayTraceAntiXray, Shopkeepers, Skulls [15:28:35 INFO]: TAB, Vault, ViaBackwards, ViaVersion, vilib, Vivecraft-Spigot-Extensions, WorldEdit, YamipaPlugin

Folia version

[15:28:59 INFO]: This server is running DirtyFolia version git-DirtyFolia-"13c7252" (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: 13c7252 on ver/1.20) Error obtaining version information Previous version: git-Kaiiju-"40d5526" (MC: 1.20.1)

Other

No response

killerprojecte commented 1 year ago

One thing I want to confirm is whether the player will cause the region thread to be stuck due to the teleportation operation (and the command cannot be used at the same time)

347180440 commented 1 year ago

You can use the command to be able to chat, but there is no block display and fall into the void

killerprojecte commented 1 year ago

There is currently no way to prevent this problem I don't think these problems can be solved from the server side. I think this problem may be related to calling the Bukkit scheduler. There is currently no way to direct location/chunk oriented calls to the region scheduler.