DaFlight / DaFlightLiteloader

A liteloader flymod
https://daflight.dags.me/
6 stars 2 forks source link

Bounce backs #17

Open mattmess1221 opened 9 years ago

mattmess1221 commented 9 years ago

Server bounces you back when flying through cobwebs. This is because the server doesn't know you're flying and you're supposed to slow down while in cobweb.

I've arranged a fix on my fork. killjoy1221/DaFlightLiteloader@0a2a1404ba8882e94a09668e616bfb6ab31ddf66

There's also the issue of it happening when trying to noclip through a wall. It bounces you back the first time, but you're still able to go inside the wall if you keep going, unlike the cobwebs. This works fine when in singleplayer.

dags- commented 9 years ago

The slight bounce-back when no clipping is a server-side issue (I believe Spigot only, but perhaps Craftbukkit too). The work around is to use nms to override the PlayerConnection to handle no clip (a'la Zombes4Bukkit/VoxelModpackPlugin). This however adds overhead and compatibility issues between server/plugin versions.

I don't plan on doing much work for the Bukkit side of things going forward, so no-clip support will remain as an API only implementation. I'll probably better support it on Sponge when that reaches a more usable state.