diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/event/entity/EntityTeleportEvent.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/event/entity/EntityTeleportEvent.java b/src/main/java/org/bukkit/event/entity/EntityTeleportEvent.java index bc588043..e7d2a353 100644 --- a/src/main/java/org/bukkit/event/entity/EntityTeleportEvent.java +++ b/src/main/java/org/bukkit/event/entity/EntityTeleportEvent.java @@ -18,7 +18,7 @@ public class EntityTeleportEvent extends EntityEvent implements Cancellable { private Location to; public EntityTeleportEvent(Entity what, Location from, Location to) { - super(Type.ENTITY_TELEPORT, what); + super(what); this.from = from; this.to = to; this.cancel = false; |