Add EntityMountEvent and EntityDismount Event

Adapted from Spigot commit ab1e1a2a5ae1e6cc42afe8bf48832721407365fd.

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2024-01-07 08:59:55 +11:00
parent d63f71fcde
commit eb6041d8f8
2 changed files with 64 additions and 42 deletions

View File

@@ -46,7 +46,9 @@ public class Commodore {
));
private static final Map<String, String> RENAMES = Map.of(
"org/bukkit/entity/TextDisplay$TextAligment", "org/bukkit/entity/TextDisplay$TextAlignment" // SPIGOT-7335
"org/bukkit/entity/TextDisplay$TextAligment", "org/bukkit/entity/TextDisplay$TextAlignment", // SPIGOT-7335
"org/spigotmc/event/entity/EntityMountEvent", "org/bukkit/event/entity/EntityMountEvent",
"org/spigotmc/event/entity/EntityDismountEvent", "org/bukkit/event/entity/EntityDismountEvent"
);
public static void main(String[] args) {