mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-09 08:52:51 +00:00
@@ -3,7 +3,6 @@ package com.l2jserver.model.world;
|
||||
import com.l2jserver.model.world.capability.Actor;
|
||||
import com.l2jserver.model.world.capability.Playable;
|
||||
import com.l2jserver.model.world.capability.Teleportable;
|
||||
import com.l2jserver.model.world.player.PlayerTeleportEvent;
|
||||
import com.l2jserver.util.Coordinate;
|
||||
|
||||
/**
|
||||
@@ -16,9 +15,9 @@ public abstract class Player extends AbstractActor implements Playable, Actor,
|
||||
Teleportable {
|
||||
@Override
|
||||
public void teleport(Coordinate coordinate) {
|
||||
final PlayerTeleportEvent event = new PlayerTeleportEvent(this,
|
||||
coordinate);
|
||||
this.setPosition(coordinate);
|
||||
// final PlayerTeleportEvent event = new PlayerTeleportEvent(this,
|
||||
// coordinate);
|
||||
// this.setPosition(coordinate);
|
||||
// event.dispatch();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user