Hotfix - entity add

This commit is contained in:
Sotr
2019-03-24 23:13:14 +08:00
parent 41b8f59b4c
commit 4d2bd1c10c
2 changed files with 1 additions and 2 deletions

View File

@@ -88,7 +88,6 @@ public class AkarinUserCache {
ProfileLookupCallback callbackHandler = new ProfileLookupCallback() {
@Override
public void onProfileLookupSucceeded(GameProfile gameprofile) {
LOGGER.warn("Failed to lookup player {}, using local UUID.", gameprofile.getName());
if (async)
callback.onProfileLookupSucceeded(gameprofile);
else

View File

@@ -1155,7 +1155,7 @@ public abstract class World implements IEntityAccess, GeneratorAccess, IIBlockAc
((IWorldAccess) this.v.get(i)).a(entity);
}
*/
worldAccessor.b(entity);
worldAccessor.a(entity);
// Akarin end
entity.valid = true; // CraftBukkit