1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-27 22:57:45 +00:00

fix an issue where multiple items could get created at the same time

subsequently, they would get the same itemid and this would fail
This commit is contained in:
NotAdam 2018-12-25 20:11:41 +11:00
parent e2fd36bbdb
commit 95be37add0

View file

@ -173,7 +173,7 @@ void Sapphire::Db::ZoneDbConnection::doPrepareStatements()
/// ITEM GLOBAL
prepareStatement( CHARA_ITEMGLOBAL_INS,
"INSERT INTO charaglobalitem ( CharacterId, ItemId, catalogId, stack, UPDATE_DATE ) VALUES ( ?, ?, ?, ?, NOW() );",
CONNECTION_BOTH );
CONNECTION_SYNC );
/// BNPC TEMPLATES
prepareStatement( ZONE_SEL_BNPCTEMPLATES,