diff --git a/PKMN-NTR/Bot/Bot_Breeding6.cs b/PKMN-NTR/Bot/Bot_Breeding6.cs index fa54891..bb7ed13 100644 --- a/PKMN-NTR/Bot/Bot_Breeding6.cs +++ b/PKMN-NTR/Bot/Bot_Breeding6.cs @@ -727,7 +727,7 @@ public async void RunBot() case breedbotstates.readslot: Report("Bot: Search for empty slot"); waitTaskPKM = Program.helper.waitPokeRead(Box, Slot); - breedPoke = (await waitTaskPKM).Clone(); + breedPoke = await waitTaskPKM; if (breedPoke == null) { // No data or invalid attempts++; @@ -1121,7 +1121,7 @@ public async void RunBot() bool testsok = false; Report("Bot: Check deposited egg"); waitTaskPKM = Program.helper.waitPokeRead(Box, Slot); - breedPoke = (await waitTaskPKM).Clone(); + breedPoke = await waitTaskPKM; if (breedPoke == null) { // No data or invalid attempts++; diff --git a/PKMN-NTR/Bot/Bot_Breeding7.cs b/PKMN-NTR/Bot/Bot_Breeding7.cs index 90488ca..5f4ac47 100644 --- a/PKMN-NTR/Bot/Bot_Breeding7.cs +++ b/PKMN-NTR/Bot/Bot_Breeding7.cs @@ -176,7 +176,7 @@ public async void RunBot() case breedbotstates.readslot: Report("Bot: Search for empty slot"); waitTaskPKM = Program.helper.waitPokeRead(Box, Slot); - breedPoke = (await waitTaskPKM).Clone(); + breedPoke = await waitTaskPKM; if (breedPoke == null) { // No data or invalid attempts++; @@ -402,7 +402,7 @@ public async void RunBot() bool testsok = false; Report("Bot: Read recevied egg"); waitTaskPKM = Program.helper.waitPokeRead(Box, Slot); - breedPoke = (await waitTaskPKM).Clone(); + breedPoke = await waitTaskPKM; if (breedPoke == null) { // No data or invalid attempts++; diff --git a/PKMN-NTR/Bot/Bot_WonderTrade6.cs b/PKMN-NTR/Bot/Bot_WonderTrade6.cs index 6e04dbb..760c240 100644 --- a/PKMN-NTR/Bot/Bot_WonderTrade6.cs +++ b/PKMN-NTR/Bot/Bot_WonderTrade6.cs @@ -234,7 +234,7 @@ public async void RunBot() case botstates.readpoke: Report("Bot: Look for pokemon to trade"); waitTaskPKM = Program.helper.waitPokeRead(Box, Slot); - WTpoke = (await waitTaskPKM).Clone(); + WTpoke = await waitTaskPKM; if (WTpoke == null) { // No data or invalid attempts++; diff --git a/PKMN-NTR/Bot/Bot_WonderTrade7.cs b/PKMN-NTR/Bot/Bot_WonderTrade7.cs index c2b62a6..156c7c0 100644 --- a/PKMN-NTR/Bot/Bot_WonderTrade7.cs +++ b/PKMN-NTR/Bot/Bot_WonderTrade7.cs @@ -250,7 +250,7 @@ public async void RunBot() case botstates.readpoke: Report("Bot: Look for pokemon to trade"); waitTaskPKM = Program.helper.waitPokeRead(Box, Slot); - WTpoke = (await waitTaskPKM).Clone(); + WTpoke = await waitTaskPKM; if (WTpoke == null) { // No data or invalid attempts++; @@ -481,7 +481,7 @@ public async void RunBot() case botstates.testpoke: Report("Bot: Test if pokemon is selected"); waitTaskPKM = Program.helper.waitPokeRead(toppkmOff); - validator = (await waitTaskPKM).Clone(); + validator = await waitTaskPKM; if (validator == null) { // No data or invalid Report("Bot: Error detected or slot is empty"); @@ -506,7 +506,7 @@ public async void RunBot() case botstates.canceltouch: Report("Bot: Cancel selection and check again"); waitTaskPKM = Program.helper.waitPokeRead(Box, Slot); - WTpoke = (await waitTaskPKM).Clone(); + WTpoke = await waitTaskPKM; if (WTpoke != null) { currentCHK = WTpoke.Checksum;