diff --git a/play.pokemonshowdown.com/js/client-teambuilder.js b/play.pokemonshowdown.com/js/client-teambuilder.js index e10ca5f981..e3b44308a6 100644 --- a/play.pokemonshowdown.com/js/client-teambuilder.js +++ b/play.pokemonshowdown.com/js/client-teambuilder.js @@ -1840,7 +1840,7 @@ var $userSetDiv = this.$('.teambuilder-pokemon-import .teambuilder-import-user-sets'); $userSetDiv.empty(); - if (smogonFormatSets) { + if (smogonFormatSets && smogonFormatSets['dex']) { var smogonSets = $.extend({}, smogonFormatSets['dex'][species], (smogonFormatSets['stats'] || {})[species]); $smogonSetDiv.text('Sample sets: '); for (var set in smogonSets) {