fixed player use timings

This commit is contained in:
gnembon committed 2020-11-09 20:39:45 -04:00
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"))))));
}