mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
This was never an issue.
This commit is contained in:
parent
0423a7831d
commit
24e5147a2a
@ -151,7 +151,6 @@ public final class SQLDatabaseManager {
|
|||||||
checkDatabaseStructure(DatabaseUpdateType.INDEX);
|
checkDatabaseStructure(DatabaseUpdateType.INDEX);
|
||||||
checkDatabaseStructure(DatabaseUpdateType.MOB_HEALTHBARS);
|
checkDatabaseStructure(DatabaseUpdateType.MOB_HEALTHBARS);
|
||||||
checkDatabaseStructure(DatabaseUpdateType.PARTY_NAMES);
|
checkDatabaseStructure(DatabaseUpdateType.PARTY_NAMES);
|
||||||
checkDatabaseStructure(DatabaseUpdateType.USER_COLUMN);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -574,10 +573,6 @@ public final class SQLDatabaseManager {
|
|||||||
write("ALTER TABLE `" + tablePrefix + "users` DROP COLUMN `party` ;");
|
write("ALTER TABLE `" + tablePrefix + "users` DROP COLUMN `party` ;");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case USER_COLUMN:
|
|
||||||
sql = "SELECT * FROM `" + tablePrefix + "users` ORDER BY `" + tablePrefix + "users`.`user` ASC LIMIT 0 , 30";
|
|
||||||
break;
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -619,10 +614,6 @@ public final class SQLDatabaseManager {
|
|||||||
write("ALTER TABLE `" + tablePrefix + "huds` ADD `mobhealthbar` varchar(50) NOT NULL DEFAULT '" + Config.getInstance().getMobHealthbarDefault() + "' ;");
|
write("ALTER TABLE `" + tablePrefix + "huds` ADD `mobhealthbar` varchar(50) NOT NULL DEFAULT '" + Config.getInstance().getMobHealthbarDefault() + "' ;");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case USER_COLUMN:
|
|
||||||
mcMMO.p.getLogger().info("Updating mcMMO MySQL tables for user column name...");
|
|
||||||
write("ALTER TABLE `" + tablePrefix + "users` RENAME COLUMN `userr` to `user`;");
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -6,5 +6,4 @@ public enum DatabaseUpdateType {
|
|||||||
INDEX,
|
INDEX,
|
||||||
MOB_HEALTHBARS,
|
MOB_HEALTHBARS,
|
||||||
PARTY_NAMES,
|
PARTY_NAMES,
|
||||||
USER_COLUMN;
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user