Consistent either way in ship

This commit is contained in:
Daniel Odendahl Jr
2018-04-21 01:37:52 +00:00
parent 9f04d0f8dd
commit 265fa75d91
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ module.exports = class ShipCommand extends Command {
}
run(msg, { first, second }) {
const random = new Random(Random.engines.mt19937().seed(first.id - second.id));
const random = new Random(Random.engines.mt19937().seed(Math.abs(first.id - second.id)));
return msg.say(`I'd give ${first.username} and ${second.username} a ${random.integer(0, 100)}%!`);
}
};
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "73.0.0",
"version": "73.0.1",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {