Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
mcchampions committed Feb 16, 2025
2 parents ebe9948 + 88ddfb3 commit e44d9a0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ private void createTableMetadataTable() {
if (Slimefun.isNewlyInstalled()) {
executeSql(MessageFormat.format(
"""
INSERT INTO {0} ({1}, {2}) VALUES ({3}, {4});
INSERT INTO {0} ({1}, {2}) VALUES ("{3}", {4});
""",
tableMetadataTable,
FIELD_TABLE_METADATA_KEY,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ private void createTableMetadataTable() {
if (Slimefun.isNewlyInstalled()) {
executeSql(MessageFormat.format(
"""
INSERT INTO {0} ({1}, {2}) VALUES ({3}, {4});
INSERT INTO {0} ({1}, {2}) VALUES ("{3}", {4});
""",
tableMetadataTable,
FIELD_TABLE_METADATA_KEY,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ private void createTableMetadataTable() {
if (Slimefun.isNewlyInstalled()) {
executeSql(MessageFormat.format(
"""
INSERT INTO {0} ({1}, {2}) VALUES ({3}, {4});
INSERT INTO {0} ({1}, {2}) VALUES ("{3}", {4});
""",
SqlUtils.mapTable(DataScope.TABLE_METADATA),
FIELD_TABLE_METADATA_KEY,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,10 @@ public SlimefunUniversalBlockData createUniversalBlock(Location l, String sfId)
UUID uuid = UUID.randomUUID();
SlimefunUniversalBlockData uniData = new SlimefunUniversalBlockData(uuid, sfId, l);

uniData.initLastPresent();

uniData.setIsDataLoaded(true);

uniData.initLastPresent();

loadedUniversalData.put(uuid, uniData);

UniversalMenuPreset preset = UniversalMenuPreset.getPreset(sfId);
Expand Down

0 comments on commit e44d9a0

Please sign in to comment.