fix https://github.com/HabitRPG/habitrpg/issues/2025 - two handed
message preventing POST to server
This commit is contained in:
+1
-1
@@ -549,7 +549,7 @@ api.wrap = (user) ->
|
||||
item = content.gear.flat[key]
|
||||
user.items.gear[type][item.type] = item.key
|
||||
message = user.fns.handleTwoHanded(item,type)
|
||||
cb? message, req
|
||||
cb {code:200,message}, req
|
||||
|
||||
hatch: (req, cb) ->
|
||||
{egg, hatchingPotion} = req.params
|
||||
|
||||
Reference in New Issue
Block a user