summaryrefslogtreecommitdiff
path: root/TrainerMod/TrainerMod.cs
diff options
context:
space:
mode:
Diffstat (limited to 'TrainerMod/TrainerMod.cs')
-rw-r--r--TrainerMod/TrainerMod.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/TrainerMod/TrainerMod.cs b/TrainerMod/TrainerMod.cs
index 91db4c88..da5365cb 100644
--- a/TrainerMod/TrainerMod.cs
+++ b/TrainerMod/TrainerMod.cs
@@ -629,8 +629,7 @@ namespace TrainerMod
}
}
- var o = new Object(e.Command.CalledArgs[0].AsInt32(), count);
- o.quality = quality;
+ var o = new Object(e.Command.CalledArgs[0].AsInt32(), count) {quality = quality};
Game1.player.addItemByMenuIfNecessary(o);
}