mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-10 04:52:52 +08:00
Remove Cancellable
from PlayerMoveEvent
This commit is contained in:
parent
80e75fd023
commit
1b8df002d1
@ -1,14 +1,13 @@
|
||||
package emu.grasscutter.server.event.player;
|
||||
|
||||
import emu.grasscutter.game.player.Player;
|
||||
import emu.grasscutter.server.event.Cancellable;
|
||||
import emu.grasscutter.server.event.types.PlayerEvent;
|
||||
import emu.grasscutter.utils.Position;
|
||||
|
||||
/**
|
||||
* 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 Position from;
|
||||
private final Position to;
|
||||
|
Loading…
Reference in New Issue
Block a user