Files
Holocore/scripts/commands/generic/setMoodInternal.groovy
T
2017-05-11 13:57:38 -04:00

11 lines
305 B
Groovy

import resources.objects.SWGObject
import resources.player.Player
import services.galaxy.GalacticManager
static def execute(GalacticManager galacticManager, Player player, SWGObject target, String args) {
if (args.contains(" ")) {
return
}
player.getCreatureObject().setMoodId(Byte.valueOf(args))
}