TreyRuffy / TreysDoubleJump

A double jump plugin for Bukkit and Spigot users!
https://www.spigotmc.org/resources/19630/
GNU General Public License v3.0
7 stars 7 forks source link

Enabling double jump doesn't give you fall damage #25

Closed YeetingYeeterz closed 3 years ago

YeetingYeeterz commented 3 years ago

Describe the bug While enabling double jump, fall damage turns off, even disabling NoFall won't help.

To Reproduce Toggling /dj produced said bug.

Expected behavior Falling off a high place or a tall ledge should damage players with double jump on.

Screenshots It's a video but I hope this helps on what I'm describing. https://mega.nz/file/wHZwWJ7L#YSqEDrw0F3OIE-jmrjM4m76JqzdtZ1_9fUCwFi964NA

Version Information (please complete the following information):

Additional context None

TreyRuffy commented 3 years ago

What other plugins are on the server? Also, are there any errors in the console?

YeetingYeeterz commented 3 years ago

What other plugins are on the server? Also, are there any errors in the console?

There's no other plugins that changes the vanilla movement or changes the behavior of the server except double jump, and I can't seem to find any errors in the console

TreyRuffy commented 3 years ago

Can I see your configuration file then?

Also, what are your permissions? Are you opped?

YeetingYeeterz commented 3 years ago

Can I see your configuration file then?

Also, what are your permissions? Are you opped?

I am opped but the same thing happens to players who aren't opped and have the double jump and groundpound permission only, here is the config config.txt

TreyRuffy commented 3 years ago

Is it only right after you type /dj?

YeetingYeeterz commented 3 years ago

Is it only right after you type /dj?

Yes. If I toggle double jump, It doesn't do any fall damage

TreyRuffy commented 3 years ago

I have looked into it and I do not think it's possible to do. I can't believe I haven't noticed it until now, but I will continue looking for solutions.

If anyone reading this can think of one, the reason it does not work is because when setAllowFlight is set to true, it does not give fall damage.

TreyRuffy commented 3 years ago

I have created a PaperMC pull request in order to fix this problem. You can check it out at PaperMC/Paper#5357.

TreyRuffy commented 3 years ago

This was fixed in 2.6.6 if you use Purpur!