Skip to content

Commit

Permalink
Fix unknown teleport cause
Browse files Browse the repository at this point in the history
  • Loading branch information
PseudoKnight committed Sep 8, 2024
1 parent 36070ef commit 2de6573
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public void setVelocity(Vector3D velocity) {

@Override
public boolean teleport(MCEntity destination) {
return this.teleport(destination.getLocation(), MCTeleportCause.UNKNOWN);
return this.teleport(destination.getLocation(), MCTeleportCause.PLUGIN);
}

@Override
Expand All @@ -232,7 +232,7 @@ public boolean teleport(MCEntity destination, MCTeleportCause cause) {

@Override
public boolean teleport(MCLocation location) {
return this.teleport(location, MCTeleportCause.UNKNOWN);
return this.teleport(location, MCTeleportCause.PLUGIN);
}

@Override
Expand Down

0 comments on commit 2de6573

Please sign in to comment.