This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
gitlord
/
isleward
mirror of
https://gitlab.com/Isleward/isleward.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
203
Wiki
Activity
Browse Source
bug
#1872
: Small bug fix
tags/v0.10.6^2
Shaun
2 years ago
parent
913569200b
commit
46a5a6bd07
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/server/components/spellbook/rotationManager.js
+ 1
- 1
src/server/components/spellbook/rotationManager.js
View File
@@ -4,7 +4,7 @@ const getDefaultRotationSpell = rotationSpells => {
if (!spells.length)
return;
if (spells.length ===
0
)
if (spells.length ===
1
)
return spells[0];
const randomSpell = spells[~~(Math.random() * spells.length)];
Write
Preview
Loading…
Cancel
Save