mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Fixed direction error
This commit is contained in:
parent
067a570df0
commit
9a5d45deed
@ -101,7 +101,7 @@ public class DirectionConverter implements ArgumentConverter<BlockVector3> {
|
|||||||
return SuccessfulConversion.fromSingle(includeDiagonals
|
return SuccessfulConversion.fromSingle(includeDiagonals
|
||||||
? worldEdit.getDiagonalDirection(player, argument)
|
? worldEdit.getDiagonalDirection(player, argument)
|
||||||
: worldEdit.getDirection(player, argument));
|
: worldEdit.getDirection(player, argument));
|
||||||
} catch (UnknownDirectionException e) {
|
} catch (Exception e) {
|
||||||
return FailedConversion.from(e);
|
return FailedConversion.from(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user