mirror of
https://gitlab.com/Deukhoofd/BattleSim.git
synced 2025-10-27 18:00:03 +00:00
Fixed issue with randoms crashing the server
This commit is contained in:
@@ -133,7 +133,7 @@ class @Pokemon
|
|||||||
try
|
try
|
||||||
@ppHash[move.name] = @maxPPHash[move.name] = pp || (move.pp * 8/5)
|
@ppHash[move.name] = @maxPPHash[move.name] = pp || (move.pp * 8/5)
|
||||||
catch error
|
catch error
|
||||||
console.log(error)
|
console.log(move)
|
||||||
|
|
||||||
setType: (newType) ->
|
setType: (newType) ->
|
||||||
@types = newType
|
@types = newType
|
||||||
|
|||||||
Reference in New Issue
Block a user