mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-06 13:40:50 -05:00
Don't remap gen2 item
https://projectpokemon.org/home/forums/topic/47300-two-more-showdown-importing-errors/ showdown already has format sensitive ID due to pkmconverter format being applied on set load
This commit is contained in:
parent
1fe304e78f
commit
45ab331805
|
|
@ -354,7 +354,7 @@ public static void ApplyHeldItem(this PKM pk, int item, int format)
|
|||
switch (pk.Format)
|
||||
{
|
||||
case 3: pk.HeldItem = ItemConverter.GetG3Item((ushort)item); break;
|
||||
case 2: pk.HeldItem = ItemConverter.GetG2Item((ushort)item); break;
|
||||
case 2: pk.HeldItem = (byte)item; break;
|
||||
case 1: pk.HeldItem = 0; break;
|
||||
default: pk.HeldItem = item; break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user