Skip to content

Commit

Permalink
Bump CatSeedLogin to 1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
HaHaWTH committed Feb 23, 2024
1 parent efa3f74 commit d3fa27e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
Binary file removed libs/CatSeedLogin-1.3.10-SNAPSHOT.jar
Binary file not shown.
9 changes: 4 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -288,11 +288,10 @@

<!-- CatSeedLogin -->
<dependency>
<groupId>cc.baka9</groupId>
<artifactId>catseedlogin</artifactId>
<version>1.3.10-SNAPSHOT</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/CatSeedLogin-1.3.10-SNAPSHOT.jar</systemPath>
<groupId>com.github.CatSeed</groupId>
<artifactId>CatSeedLogin</artifactId>
<version>1.4.1</version>
<scope>provided</scope>
</dependency>

<!-- ConfigMe 1.3.1 as we can't update to 1.4+ -->
Expand Down
3 changes: 0 additions & 3 deletions src/main/java/io/wdsj/asw/impl/uuid/FastUuidParser.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package io.wdsj.asw.impl.uuid;

import com.google.common.annotations.Beta;

import java.util.Objects;
import java.util.UUID;

Expand All @@ -10,7 +8,6 @@
* @version Railgun
* @since Trident
*/
@Beta
public final class FastUuidParser {
public static UUID fromString(String s) {
Objects.requireNonNull(s);
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/wdsj/asw/listener/ASWPacketListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private boolean shouldNotProcess(Player player, String message) {
if (!fr.xephi.authme.api.v3.AuthMeApi.getInstance().isAuthenticated(player)) return true;
}
if (isCslAvailable && settingsManager.getProperty(PluginSettings.ENABLE_CSL_COMPATIBILITY)) {
return !cc.baka9.catseedlogin.CatSeedLoginAPI.isLogin(player.getName()) || !cc.baka9.catseedlogin.CatSeedLoginAPI.isRegister(player.getName());
return !cc.baka9.catseedlogin.bukkit.CatSeedLoginAPI.isLogin(player.getName()) || !cc.baka9.catseedlogin.bukkit.CatSeedLoginAPI.isRegister(player.getName());
}
return false;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void onPacketReceiving(@NotNull com.comphenix.protocol.events.PacketEvent
if (!fr.xephi.authme.api.v3.AuthMeApi.getInstance().isAuthenticated(player)) return;
}
if (isCslAvailable && settingsManager.getProperty(PluginSettings.ENABLE_CSL_COMPATIBILITY)) {
if (!cc.baka9.catseedlogin.CatSeedLoginAPI.isLogin(player.getName()) || !cc.baka9.catseedlogin.CatSeedLoginAPI.isRegister(player.getName())) return;
if (!cc.baka9.catseedlogin.bukkit.CatSeedLoginAPI.isLogin(player.getName()) || !cc.baka9.catseedlogin.bukkit.CatSeedLoginAPI.isRegister(player.getName())) return;
}
long startTime = System.currentTimeMillis();
// Chat check
Expand Down

0 comments on commit d3fa27e

Please sign in to comment.