mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Update MsgUtil.java
Added missing DbPrefix Former-commit-id: f47a6a0c1f72f6ff003a8e95da0958dc919e700d [formerly f290a900fb08bd1d30f18b45ee71ec9107f4c577] Former-commit-id: 2f375c18ff127285dabd371ad41aaf4b4fea4ffa
This commit is contained in:
1 parent
7a339c545a
commit
2ea73eea97
1 file changed
+1
-1
@@ -520,7 +520,7 @@ public class MsgUtil {
|
||||
for (String msg : msgs) {
|
||||
p.getPlayer().sendMessage(msg);
|
||||
}
|
||||
plugin.getDB().execute("DELETE FROM messages WHERE owner = ?", pName.toString());
|
||||
plugin.getDB().execute("DELETE FROM "+QuickShop.instance.getDbPrefix()+"messages WHERE owner = ?", pName.toString());
|
||||
msgs.clear();
|
||||
}else {
|
||||
p.getPlayer().sendMessage(getMessage("nothing-to-flush"));
|
||||
|
||||
Reference in new issue
Block a user