Matocolotoe / Skript-1.8

The Skript plugin made for Minecraft 1.8.x only. Releases will follow the original repository, except for some bug fixes. Please read the README before updating to Skript-1.8 !
https://discord.gg/yh3Z98m
GNU General Public License v3.0
47 stars 4 forks source link

"on jump" event does not exist #66

Closed iThrowRBW closed 1 year ago

iThrowRBW commented 1 year ago

Skript Version

[22:26:13 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases

[22:26:13 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/

[22:26:13 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials

[22:26:13 INFO]: [Skript] Server Version: git-PaperSpigot-"4c7641d19" (MC: 1.8.8)

[22:26:13 INFO]: [Skript] Skript Version: 2.6.4-for-1.8

[22:26:13 INFO]: [Skript] Installed Skript Addons:

[22:26:13 INFO]: [Skript] - SkQuery v4.1.6

[22:26:13 INFO]: [Skript] - SkBee v1.10.2 (https://github.com/ShaneBeee/SkBee)

[22:26:13 INFO]: [Skript] Installed dependencies:

[22:26:13 INFO]: [Skript] - Vault v1.5.6-b49

[22:26:13 INFO]: [Skript] - WorldGuard v6.1

Bug Description

While I was trying to make custom movement I noticed that "on jump" was not registered as an event. I'm not sure if this is a bug or not but "on horse jump" and other similar events work.

https://docs.skriptlang.org/events.html#jump

Expected Behavior

to be a valid event

Steps to Reproduce

on jump: [code]

Errors or Screenshots

Screenshot 2023-02-05 222839

Other

No response

Agreement

c0dingnoobi commented 1 year ago

thats not a bug 1.8.8 jars doesnt have OnPlayerJumpEvent internally. You can either listen on org.bukkit.event.player.PlayerStatisticIncrementEvent (using skript-reflect) or use a jar like TitaniumMC which backported events from newer versions (including OnPlayerJumpEvent).