File tree Expand file tree Collapse file tree
PistonChat/src/main/java/net/pistonmaster/pistonchat/tools Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public boolean isWhisperingEnabled(Player player) {
5656 return Boolean .TRUE .equals (whisperCache .get (player .getUniqueId ()));
5757 }
5858
59- public boolean loadIsWhisperingEnabled (UUID uuid ) {
59+ private boolean loadIsWhisperingEnabled (UUID uuid ) {
6060 try (Connection connection = plugin .getDs ().getConnection ()) {
6161 PreparedStatement statement = connection .prepareStatement ("SELECT `whisper_enabled` FROM `pistonchat_settings_whisper` WHERE `uuid` = ?;" );
6262 statement .setString (1 , uuid .toString ());
@@ -77,7 +77,7 @@ public boolean isChatEnabled(Player player) {
7777 return Boolean .TRUE .equals (chatCache .get (player .getUniqueId ()));
7878 }
7979
80- public boolean loadIsChatEnabled (UUID uuid ) {
80+ private boolean loadIsChatEnabled (UUID uuid ) {
8181 try (Connection connection = plugin .getDs ().getConnection ()) {
8282 PreparedStatement statement = connection .prepareStatement ("SELECT `chat_enabled` FROM `pistonchat_settings_chat` WHERE `uuid` = ?;" );
8383 statement .setString (1 , uuid .toString ());
Original file line number Diff line number Diff line change @@ -30,6 +30,6 @@ fun ShadowJar.configureRelocations() {
3030 relocate(" com.google.gson" , " net.pistonmaster.pistonchat.shadow.gson" )
3131 relocate(" com.google.errorprone" , " net.pistonmaster.pistonchat.shadow.errorprone" )
3232 relocate(" com.github.benmanes.caffeine" , " net.pistonmaster.pistonchat.shadow.caffeine" )
33- relocate(" net.kyori" , " net.pistonmaster.pistonchat.shadow.kyori" )
33+ relocate(" net.kyori.option " , " net.pistonmaster.pistonchat.shadow.kyori.option " )
3434 relocate(" com.tcoded.folialib" , " net.pistonmaster.pistonchat.shadow.folialib" )
3535}
You can’t perform that action at this time.
0 commit comments