Fixed issue with randoms crashing the server

This commit is contained in:
Deukhoofd 2016-05-21 15:57:45 +02:00
parent ff5bc76159
commit 51a224b44a
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -133,7 +133,7 @@ class @Pokemon
try
@ppHash[move.name] = @maxPPHash[move.name] = pp || (move.pp * 8/5)
catch error
console.log(error)
console.log(move)
setType: (newType) ->
@types = newType

View File

@ -1891,7 +1891,7 @@
"Nasty Plot",
"Hidden Power Water",
"Wildfire",
"Poison Powder"
"PoisonPowder"
]
}
},
@ -2002,7 +2002,7 @@
"Nasty Plot",
"Hidden Power Water",
"Wildfire",
"Poison Powder"
"PoisonPowder"
]
}
},