From 6507138d9938b057ebe403279e06be4d63311da4 Mon Sep 17 00:00:00 2001 From: Magesofthebeach <53281653+Magesofthebeach@users.noreply.github.com> Date: Sat, 29 Feb 2020 16:20:37 -0500 Subject: [PATCH] more typos --- src/components/entercode/PackSimulator.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/entercode/PackSimulator.js b/src/components/entercode/PackSimulator.js index 90607d9..ad5c457 100644 --- a/src/components/entercode/PackSimulator.js +++ b/src/components/entercode/PackSimulator.js @@ -167,7 +167,7 @@ export default class PackSimulator extends React.Component { genrarity('Rare', 2); genrarity(randomRare(), 1); } - elseif (this.set === "OP1") { + else if (this.set === "OP1") { genrarity("Common", 2); let randomWeird = Math.floor(Math.random() * 75) + 1; let weirdRarity = ""; @@ -181,7 +181,7 @@ export default class PackSimulator extends React.Component { weirdRarity = "Uncommon"; genrarity(weirdRarity, 1); } - elseif (this.set === "PE1") { + else if (this.set === "PE1") { genrarity("Super Rare", 5); genrarity("Ultra Rare", 1); }