mirror of
https://github.com/mm201/pkmn-classic-framework.git
synced 2026-09-30 13:16:36 -05:00
Fixed "Morphing Glitch" fake search results showing for Pokémon already traded.
This commit is contained in:
@@ -219,7 +219,7 @@ namespace PkmnFoundations.Data
|
||||
using (MySqlConnection db = CreateConnection())
|
||||
{
|
||||
List<MySqlParameter> _params = new List<MySqlParameter>();
|
||||
String where = "WHERE pid != @pid";
|
||||
String where = "WHERE pid != @pid AND IsExchanged = 0";
|
||||
_params.Add(new MySqlParameter("@pid", pid));
|
||||
|
||||
if (species > 0)
|
||||
@@ -552,7 +552,7 @@ namespace PkmnFoundations.Data
|
||||
using (MySqlConnection db = CreateConnection())
|
||||
{
|
||||
List<MySqlParameter> _params = new List<MySqlParameter>();
|
||||
String where = "WHERE pid != @pid";
|
||||
String where = "WHERE pid != @pid AND IsExchanged = 0";
|
||||
_params.Add(new MySqlParameter("@pid", pid));
|
||||
|
||||
if (species > 0)
|
||||
|
||||
Reference in New Issue
Block a user