mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 03:37:38 +00:00
Add flyable status to /prop
This commit is contained in:
parent
47cdfe5c14
commit
29501bcd81
@ -81,6 +81,12 @@ public final class SetPropCommand implements CommandHandler {
|
||||
Prop unlockmap = new Prop("UnlockMap", PseudoProp.UNLOCK_MAP);
|
||||
this.props.put("unlockmap", unlockmap);
|
||||
this.props.put("um", unlockmap);
|
||||
|
||||
Prop flyable = new Prop("IsFlyable", PlayerProperty.PROP_IS_FLYABLE, PseudoProp.IS_FLYABLE);
|
||||
this.props.put("canfly", flyable);
|
||||
this.props.put("fly", flyable);
|
||||
this.props.put("glider", flyable);
|
||||
this.props.put("canglide", flyable);
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -246,7 +252,8 @@ public final class SetPropCommand implements CommandHandler {
|
||||
UNLIMITED_ENERGY,
|
||||
SET_OPENSTATE,
|
||||
UNSET_OPENSTATE,
|
||||
UNLOCK_MAP
|
||||
UNLOCK_MAP,
|
||||
IS_FLYABLE
|
||||
}
|
||||
|
||||
static class Prop {
|
||||
|
Loading…
Reference in New Issue
Block a user