mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-01 02:46:41 +00:00
Use current PlayerDirection
This commit is contained in:
@ -312,7 +312,7 @@ public class WorldEditBinding extends BindingHelper {
|
||||
public Vector getDirection(ArgumentStack context, Direction direction)
|
||||
throws ParameterException, UnknownDirectionException {
|
||||
Player sender = getPlayer(context);
|
||||
return PlayerDirection.valueOf(sender, context.next()).vector();
|
||||
return worldEdit.getDirection(sender, context.next());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user