From 9b46a6e7f77cafbc0a6d5e42b84a92e80a2ab49c Mon Sep 17 00:00:00 2001 From: Alexander Nell Date: Tue, 19 May 2020 21:37:43 +0200 Subject: [PATCH] Checked on the wrong error number all along --- plugins/MCTeam/LocalRecordsPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/MCTeam/LocalRecordsPlugin.php b/plugins/MCTeam/LocalRecordsPlugin.php index 01ff3117..6929fa21 100644 --- a/plugins/MCTeam/LocalRecordsPlugin.php +++ b/plugins/MCTeam/LocalRecordsPlugin.php @@ -206,7 +206,7 @@ class LocalRecordsPlugin implements CallbackListener, CallQueueListener, Command $mysqli->query("ALTER TABLE `" . self::TABLE_RECORDS . "` ADD `checkpoints` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL"); if ($mysqli->error) { - if ($mysqli->errno !== 1062) { + if ($mysqli->errno !== 1060) { // Duplicate trigger_error($mysqli->error, E_USER_ERROR); }