File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
src/com/bencodez/advancedcore Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 22 <modelVersion >4.0.0</modelVersion >
33 <groupId >com.bencodez</groupId >
44 <artifactId >${version.art} </artifactId >
5- <version >3.7.3 </version >
5+ <version >3.7.4 </version >
66 <packaging >jar</packaging >
77 <name >AdvancedCore</name >
88 <properties >
Original file line number Diff line number Diff line change @@ -1102,9 +1102,16 @@ public void run() {
11021102 for (UserStartup start : userStartup ) {
11031103 start .onStart ();
11041104 }
1105+ boolean onlineMode = getOptions ().isOnlineMode ();
1106+ int offlineAmount = 0 ;
11051107 HashMap <UUID , ArrayList <Column >> cols = getUserManager ().getAllKeys ();
11061108 for (Entry <UUID , ArrayList <Column >> playerData : cols .entrySet ()) {
11071109 String uuid = playerData .getKey ().toString ();
1110+ if (onlineMode ) {
1111+ if (uuid .charAt (14 ) == '3' ) {
1112+ offlineAmount ++;
1113+ }
1114+ }
11081115 if (javaPlugin != null ) {
11091116 if (uuid != null ) {
11101117 AdvancedCoreUser user = getUserManager ().getUser (UUID .fromString (uuid ), false );
@@ -1126,6 +1133,10 @@ public void run() {
11261133 for (UserStartup start : userStartup ) {
11271134 start .onFinish ();
11281135 }
1136+ if (offlineAmount > 0 && onlineMode ) {
1137+ debug ("Detected offline uuids in a online server, this could mean an error for your server setup: "
1138+ + offlineAmount );
1139+ }
11291140 debug ("User Startup finished" );
11301141 }
11311142 }, 5 );
You can’t perform that action at this time.
0 commit comments