hpfxd / PandaSpigot

Fork of Paper for 1.8.8 focused on improved performance and stability.
GNU General Public License v3.0
242 stars 67 forks source link

Stop-Sprint feature pls🥺 #192

Open asynchunk opened 5 months ago

asynchunk commented 5 months ago

stop-sprint boolean you can find it on windspigot fork github commits:If hits should stop sprinting, if enabled then players need to sprint reset to deal more knockback

FirephoenixX02 commented 5 months ago

It is unclear, what you want to have implemented, at least provide a link or more context. If a player hits an entity he will stop sprinting on the client side, even if its just shortly, the server can't really do much about that.

asynchunk commented 5 months ago

It is unclear, what you want to have implemented, at least provide a link or more context. If a player hits an entity he will stop sprinting on the client side, even if its just shortly, the server can't really do much about that.

https://github.com/Wind-Development/WindSpigot/blob/master/WindSpigot-Server/src/main/java/net/minecraft/server/EntityHuman.java#L1092

Coccocoahelper commented 2 months ago

It is unclear, what you want to have implemented, at least provide a link or more context. If a player hits an entity he will stop sprinting on the client side, even if its just shortly, the server can't really do much about that.

I think that the meaning is this:

asynchunk commented 2 months ago

It is unclear, what you want to have implemented, at least provide a link or more context. If a player hits an entity he will stop sprinting on the client side, even if its just shortly, the server can't really do much about that.

I think that the meaning is this:

  • Hits temporarily stop sprinting, yes.
  • Remove the KB increase from that sprint 'resetting' and make it only work with manual sprint resetting.

Exactly tysm