Skip to content

Commit

Permalink
Update version number to 3.7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
BenCodez committed Feb 18, 2024
1 parent eb65662 commit 683126b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion AdvancedCore/pom.xml
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.bencodez</groupId>
<artifactId>${version.art}</artifactId>
<version>3.7.3</version>
<version>3.7.4</version>
<packaging>jar</packaging>
<name>AdvancedCore</name>
<properties>
Expand Down
11 changes: 11 additions & 0 deletions AdvancedCore/src/com/bencodez/advancedcore/AdvancedCorePlugin.java
Expand Up @@ -1102,9 +1102,16 @@ public void run() {
for (UserStartup start : userStartup) {
start.onStart();
}
boolean onlineMode = getOptions().isOnlineMode();
int offlineAmount = 0;
HashMap<UUID, ArrayList<Column>> cols = getUserManager().getAllKeys();
for (Entry<UUID, ArrayList<Column>> playerData : cols.entrySet()) {
String uuid = playerData.getKey().toString();
if (onlineMode) {
if (uuid.charAt(14) == '3') {
offlineAmount++;
}
}
if (javaPlugin != null) {
if (uuid != null) {
AdvancedCoreUser user = getUserManager().getUser(UUID.fromString(uuid), false);
Expand All @@ -1126,6 +1133,10 @@ public void run() {
for (UserStartup start : userStartup) {
start.onFinish();
}
if (offlineAmount > 0 && onlineMode) {
debug("Detected offline uuids in a online server, this could mean an error for your server setup: "
+ offlineAmount);
}
debug("User Startup finished");
}
}, 5);
Expand Down

0 comments on commit 683126b

Please sign in to comment.