Skip to content

Commit cb7e55d

Browse files
committed
lint
1 parent d48d4c6 commit cb7e55d

4 files changed

Lines changed: 13 additions & 7 deletions

File tree

src/main/java/com/azuredoom/levelingcore/commands/ShowLeaderboardCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class ShowLeaderboardCommand extends AbstractPlayerCommand {
2121
public ShowLeaderboardCommand() {
2222
super("leaderboard", "Shows the player leaderboard");
2323
this.requirePermission("levelingcore.leaderboard");
24-
//TODO: Update changes setPermissionGroup(GameMode.Adventure) to setPermissionGroups("hytale:Adventurer")
24+
// TODO: Update changes setPermissionGroup(GameMode.Adventure) to setPermissionGroups("hytale:Adventurer")
2525
this.setPermissionGroup(GameMode.Adventure);
2626
}
2727

src/main/java/com/azuredoom/levelingcore/commands/ShowStatsCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class ShowStatsCommand extends AbstractPlayerCommand {
2727
public ShowStatsCommand(Config<GUIConfig> config) {
2828
super("showstats", "Shows player stats");
2929
this.requirePermission("levelingcore.showstats");
30-
//TODO: Update changes setPermissionGroup(GameMode.Adventure) to setPermissionGroups("hytale:Adventurer")
30+
// TODO: Update changes setPermissionGroup(GameMode.Adventure) to setPermissionGroups("hytale:Adventurer")
3131
this.setPermissionGroup(GameMode.Adventure);
3232
this.config = config;
3333
}

src/main/java/com/azuredoom/levelingcore/database/JdbcLevelRepository.java

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,12 @@ player_id VARCHAR(36) PRIMARY KEY,
7373
}
7474
}
7575

76-
private void addColumnIfMissing(Connection connection, String table, String column, String definition) throws SQLException {
76+
private void addColumnIfMissing(
77+
Connection connection,
78+
String table,
79+
String column,
80+
String definition
81+
) throws SQLException {
7782
if (columnExists(connection, table, column)) {
7883
return;
7984
}
@@ -329,9 +334,9 @@ public void migrateFormulaIfNeeded(LevelFormula newFormula, FormulaDescriptor ne
329334

330335
private boolean isH2(Connection connection) throws SQLException {
331336
return connection.getMetaData()
332-
.getDatabaseProductName()
333-
.toLowerCase()
334-
.contains("h2");
337+
.getDatabaseProductName()
338+
.toLowerCase()
339+
.contains("h2");
335340
}
336341

337342
/**

src/main/java/com/azuredoom/levelingcore/systems/equipment/ArmorBlockLevelSystem.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
import com.azuredoom.levelingcore.LevelingCore;
2727
import com.azuredoom.levelingcore.utils.NotificationsUtil;
2828

29-
// TODO: Update 5 changes import of InventoryChangeEvent to com.hypixel.hytale.server.core.event.events.ecs.InventoryChangeEvent
29+
// TODO: Update 5 changes import of InventoryChangeEvent to
30+
// com.hypixel.hytale.server.core.event.events.ecs.InventoryChangeEvent
3031
public class ArmorBlockLevelSystem extends EntityEventSystem<EntityStore, InventoryChangeEvent> {
3132

3233
protected final Set<UUID> ignoreArmorEvents = ConcurrentHashMap.newKeySet();

0 commit comments

Comments
 (0)