summaryrefslogtreecommitdiff
path: root/src/com/sneed/pkrandom/romhandlers/Gen4RomHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/sneed/pkrandom/romhandlers/Gen4RomHandler.java')
-rwxr-xr-xsrc/com/sneed/pkrandom/romhandlers/Gen4RomHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/sneed/pkrandom/romhandlers/Gen4RomHandler.java b/src/com/sneed/pkrandom/romhandlers/Gen4RomHandler.java
index d3904f8..00d525d 100755
--- a/src/com/sneed/pkrandom/romhandlers/Gen4RomHandler.java
+++ b/src/com/sneed/pkrandom/romhandlers/Gen4RomHandler.java
@@ -3105,7 +3105,7 @@ public class Gen4RomHandler extends AbstractDSRomHandler {
public List<Pokemon> bannedForWildEncounters() {
if (romEntry.romType == Gen4Constants.Type_HGSS) {
// Ban Unown in HGSS because they don't show up unless you complete a puzzle in the Ruins of Alph.
- return Collections.singletonList(pokes[Species.unown]);
+ return new ArrayList<>(Collections.singletonList(pokes[Species.unown]));
}
return new ArrayList<>();
}