fixed scoreboardslot argument
This commit is contained in:
1 parent
7fdc6a97ef
commit
c5e1a5a09e
1 file changed
+3
-3
@@ -258,9 +258,9 @@ public abstract class CommandArgument
|
||||
true
|
||||
),
|
||||
new ScoreholderArgument(),
|
||||
//new VanillaUnconfigurableArgument("scoreboardslot", ScoreboardSlotArgument::displaySlot,
|
||||
// (c, p) -> StringValue.of(Scoreboard.getDisplaySlotName(ScoreboardSlotArgument.getDisplaySlot(c, p))), false
|
||||
//),
|
||||
new VanillaUnconfigurableArgument("scoreboardslot", ScoreboardSlotArgument::displaySlot,
|
||||
(c, p) -> StringValue.of(ScoreboardSlotArgument.getDisplaySlot(c, p).getSerializedName()), false
|
||||
),
|
||||
new VanillaUnconfigurableArgument("swizzle", SwizzleArgument::swizzle,
|
||||
(c, p) -> StringValue.of(SwizzleArgument.getSwizzle(c, p).stream().map(Direction.Axis::getSerializedName).collect(Collectors.joining())), true
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user