Skip to content

Commit

Permalink
Fix missing vehicle exit event (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
bensku committed Jul 28, 2016
1 parent 96915d8 commit 1d17845
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/ch/njol/skript/events/SimpleEvents.java
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,10 @@ public class SimpleEvents {
.description("Called when an <a href='../classes/#entity'>entity</a> enters a vehicle, either deliberately (players) or by falling into them (mobs).")
.examples("")
.since("1.0");
Skript.registerEvent("Vehicle Exit", SimpleEvent.class, VehicleExitEvent.class, "vehicle exit", "exit[ing] [a] vehicle")
.description("Called when an entity exits a vehicle.")
.examples("")
.since("1.0");
if (Skript.classExists("org.spigotmc.event.entity.EntityMountEvent")) {
Skript.registerEvent("Entity Mount", SimpleEvent.class, EntityMountEvent.class, "mount[ing]")
.description("Called when entity starts riding another.")
Expand Down

0 comments on commit 1d17845

Please sign in to comment.