Skip to content

Commit

Permalink
Extra fix event names
Browse files Browse the repository at this point in the history
  • Loading branch information
tal5 committed Jun 24, 2024
1 parent 17efc4f commit d12030d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ else if (name.equals("entity")) {

@Override
public String getName() { // TODO: once 1.20 is the minimum supported version, remove
return "EntityEntersVehicleScriptEvent";
return "EntityEntersVehicle";
}

public void fire(EntityEvent event, Entity vehicle) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ else if (name.equals("entity")) {

@Override
public String getName() { // TODO: once 1.20 is the minimum supported version, remove
return "EntityExitsVehicleScriptEvent";
return "EntityExitsVehicle";
}

public void fire(EntityEvent event, Entity vehicle) {
Expand Down

0 comments on commit d12030d

Please sign in to comment.