fixed player use timings
This commit is contained in:
1 parent
ddba688f59
commit
a40b8ff0cc
2 files changed
+47
-10
No files matched your search
@@ -105,7 +105,7 @@ public class PlayerCommand
|
||||
.executes(c -> action(c, type, EntityPlayerActionPack.Action.once()))
|
||||
.then(literal("once").executes(c -> action(c, type, EntityPlayerActionPack.Action.once())))
|
||||
.then(literal("continuous").executes(c -> action(c, type, EntityPlayerActionPack.Action.continuous())))
|
||||
.then(literal("interval").then(argument("ticks", IntegerArgumentType.integer(2))
|
||||
.then(literal("interval").then(argument("ticks", IntegerArgumentType.integer(1))
|
||||
.executes(c -> action(c, type, EntityPlayerActionPack.Action.interval(IntegerArgumentType.getInteger(c, "ticks"))))));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user