Remove Cancellable from PlayerMoveEvent

This commit is contained in:
KingRainbow44 2022-07-15 12:48:55 -04:00
parent 80e75fd023
commit 1b8df002d1

View File

@ -1,14 +1,13 @@
package emu.grasscutter.server.event.player; package emu.grasscutter.server.event.player;
import emu.grasscutter.game.player.Player; import emu.grasscutter.game.player.Player;
import emu.grasscutter.server.event.Cancellable;
import emu.grasscutter.server.event.types.PlayerEvent; import emu.grasscutter.server.event.types.PlayerEvent;
import emu.grasscutter.utils.Position; import emu.grasscutter.utils.Position;
/** /**
* TODO: Allow plugins to change the position of the player. * TODO: Allow plugins to change the position of the player.
*/ */
public final class PlayerMoveEvent extends PlayerEvent implements Cancellable { public final class PlayerMoveEvent extends PlayerEvent {
private final MoveType type; private final MoveType type;
private final Position from; private final Position from;
private final Position to; private final Position to;