mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2025-01-16 20:41:23 +01:00
Bugfix for not saving backpacks
only occurred when there was a broken backpack saved once for a player
This commit is contained in:
parent
26e4dca589
commit
c9dda334ca
@ -187,7 +187,7 @@ protected final void buildQuerys()
|
||||
queryGetPlayerID = "SELECT `{FieldPlayerID}` FROM `{TablePlayers}` WHERE `{FieldName}`=?;";
|
||||
queryGetBP += "`{FieldName}`=?;";
|
||||
}
|
||||
queryInsertBP = "INSERT INTO `{TableBackpacks}` (`{FieldBPOwner}`,`{FieldBPITS}`,`{FieldBPVersion}`) VALUES (?,?,?);";
|
||||
queryInsertBP = "REPLACE INTO `{TableBackpacks}` (`{FieldBPOwner}`,`{FieldBPITS}`,`{FieldBPVersion}`) VALUES (?,?,?);";
|
||||
queryUpdateBP = "UPDATE `{TableBackpacks}` SET `{FieldBPITS}`=?,`{FieldBPVersion}`=?";
|
||||
if(maxAge > 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user