aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_wear.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_wear.go')
-rw-r--r--internal/game/cmd_wear.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/game/cmd_wear.go b/internal/game/cmd_wear.go
index 36765e8..f2fd84c 100644
--- a/internal/game/cmd_wear.go
+++ b/internal/game/cmd_wear.go
@@ -9,6 +9,10 @@ import (
"thehouseoficarus/internal/player"
)
+func (g *Game) executeWear(sess *net.Session, args []string, rawInput string) {
+ g.doWear(sess, strings.Join(args, " "))
+}
+
func (g *Game) checkRequirements(p *player.Player, def *object.ItemDef) string {
if len(def.Requirements) == 0 {
return ""