Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
Project: remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFaser committed Dec 3, 2023
1 parent 71895fa commit c59408c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions src/main/java/net/flectone/chat/database/sqlite/Database.java
Original file line number Diff line number Diff line change
Expand Up @@ -594,10 +594,6 @@ public void updateFPlayer(@NotNull String table, @NotNull Object playerInfo) {
insertStatement.executeUpdate();
}
}
// case "warns" -> {
// PlayerWarn playerWarn = (PlayerWarn) playerInfo;
// deleteRow("warns", "uuid", playerWarn.getUUID().toString());
// }
case "settings" -> {

PreparedStatement preparedStatement = connection.prepareStatement("UPDATE `settings` SET " +
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
package net.flectone.chat.model.advancement;

import net.flectone.chat.util.NMSUtil;
import org.bukkit.Bukkit;
import org.bukkit.advancement.Advancement;
import org.jetbrains.annotations.NotNull;

import javax.annotation.Nullable;
import java.util.Arrays;
import java.util.Optional;
import java.util.function.Function;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

// Thanks, @CroaBeast, for these methods
// Source https://github.com/CroaBeast/AdvancementInfo
Expand Down
1 change: 0 additions & 1 deletion src/main/java/net/flectone/chat/model/player/FPlayer.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import net.flectone.chat.module.integrations.IntegrationsModule;
import net.flectone.chat.module.player.afkTimeout.AfkTimeoutModule;
import net.flectone.chat.module.player.nameTag.NameTagModule;
import net.flectone.chat.module.player.world.WorldModule;
import net.flectone.chat.module.sounds.SoundsModule;
import net.flectone.chat.util.MessageUtil;
import net.flectone.chat.util.PlayerUtil;
Expand Down

0 comments on commit c59408c

Please sign in to comment.