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

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