From 8eb2de916d7927d0dc50870c8f3a16a18fb275b0 Mon Sep 17 00:00:00 2001 From: Manu <52102823+Manu098vm@users.noreply.github.com> Date: Mon, 10 Jun 2024 01:14:34 +0200 Subject: [PATCH] Fix duplicate --- HomeLive.Core/Classes/HomeWrapper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HomeLive.Core/Classes/HomeWrapper.cs b/HomeLive.Core/Classes/HomeWrapper.cs index 7cefaa2..5b5ca3a 100644 --- a/HomeLive.Core/Classes/HomeWrapper.cs +++ b/HomeLive.Core/Classes/HomeWrapper.cs @@ -126,7 +126,7 @@ public bool HasPK8() public PK8? ConvertToPK8() { - if (PKM is PH1 or PH2 or PH2 or PKH) + if (PKM is PH1 or PH2 or PKH) return ((dynamic)PKM).ConvertToPK8(); else if (PKM is PK8 pk8) return pk8;