Add stop(ActionType)

This commit is contained in:
skippyall
2024-09-19 10:10:57 +02:00
committed by GitHub
parent 6526f92a67
commit 09a7b7c0ff
@@ -159,6 +159,12 @@ public class EntityPlayerActionPack
return this;
}
public EntityPlayerActionPack stop(ActionType type) {
type.stop(player, actions.get(type));
actions.remove(type);
return this;
}
public EntityPlayerActionPack stopAll()
{