PaperMC / Paper

The most widely used, high performance Minecraft server that aims to fix gameplay and mechanics inconsistencies
https://papermc.io/
Other
9.39k stars 2.2k forks source link

NoSuchMethodError: org.bukkit.entity.Fireball.getAcceleration() #10850

Closed uprial closed 3 weeks ago

uprial commented 1 month ago

Expected behavior

The method from Spigot 1.20.6 exists according to the docs: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Fireball.html and is compatible with Paper 1.20.6

Observed/Actual behavior

Server error: java.lang.NoSuchMethodError: 'org.bukkit.util.Vector org.bukkit.entity.Fireball.getAcceleration()'

Steps/models to reproduce

Run a server on the latest version of Paper: paper-1.20.6-130.jar

Plugin and Datapack List

Reproducible on a bare installation of paper-1.20.6-130.jar

Paper version

paper-1.20.6-130.jar

Other

No response

Machine-Maker commented 1 month ago

We haven't updated from upstream yet. However, Paper already exposed the fireballs acceleration (under the name Power), so you can just use that until we update from upstream.

lynxplay commented 3 weeks ago

Resolved.