mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-08-27 21:48:31 -05:00
Fix block messages
This commit is contained in:
@@ -73,7 +73,7 @@ class BattleTextParser {
|
||||
'electricterrain', 'mistyterrain', 'psychicterrain', 'telepathy', 'stickyhold', 'suctioncups', 'aromaveil',
|
||||
'flowerveil', 'sweetveil', 'disguise', 'safetygoggles', 'protectivepads',
|
||||
].includes(id)) {
|
||||
return {args: ['-block', target, effect, arg3], kwArgs: {}};
|
||||
return {args: ['-block', target || pokemon, effect, arg3], kwArgs: {}};
|
||||
}
|
||||
|
||||
if ([
|
||||
|
||||
Reference in New Issue
Block a user