File tree Expand file tree Collapse file tree 3 files changed +2
-11
lines changed
AdvancedCore/src/main/java/com/bencodez/advancedcore Expand file tree Collapse file tree 3 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -770,9 +770,6 @@ public void onFinish() {
770770 @ Override
771771 public void onStart () {
772772 debug ("Starting background uuid/name task" );
773- if (!getOptions ().isOnlineMode ()) {
774- setProcess (false );
775- }
776773 }
777774
778775 @ Override
@@ -1026,7 +1023,7 @@ public void run() {
10261023 for (UserStartup start : userStartup ) {
10271024 start .onFinish ();
10281025 }
1029-
1026+
10301027 for (UserStartup start : userStartup ) {
10311028 start .onPostFinish ();
10321029 }
Original file line number Diff line number Diff line change @@ -177,6 +177,7 @@ private void loadKeys() {
177177 addKey (new UserDataKeyString ("InputMethod" ));
178178 addKey (new UserDataKeyString ("ChoicePreference" ));
179179 addKey (new UserDataKeyBoolean ("CheckWorld" ));
180+ addKey (new UserDataKeyBoolean ("isBedrock" ));
180181 }
181182
182183 public void removeCache (UUID uuid , String playerName ) {
Original file line number Diff line number Diff line change @@ -43,13 +43,6 @@ public void onJoin(AdvancedCoreLoginEvent event) {
4343 boolean userExist = plugin .getUserManager ().userExist (event .getPlayer ().getUniqueId ());
4444 if (player .getName ().startsWith (plugin .getOptions ().getBedrockPlayerPrefix ())) {
4545 userExist = true ;
46-
47- if (plugin .getOptions ().isOnlineMode ()) {
48- plugin .getUuidNameCache ().put (player .getUniqueId ().toString (), player .getName ());
49- } else {
50- plugin .getUuidNameCache ().put (PlayerManager .getInstance ().getUUID (player .getName ()),
51- player .getName ());
52- }
5346 plugin .extraDebug ("Detected Geyser Player, Forcing player data to load" );
5447 }
5548
You can’t perform that action at this time.
0 commit comments