Fixed issue with randoms crashing the server

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

No files matched your search

+1 -1
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