chore: add missing @Override annotations to NmsPlayer#getProfile

This commit is contained in:
Christian Koop 2024-09-20 09:04:19 +02:00
parent 874ecf63b2
commit 6483e0d8b2
No known key found for this signature in database
GPG Key ID: 6A4A09E8ED946113
27 changed files with 27 additions and 0 deletions

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet); ((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet); ((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet); ((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet); ((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet); ((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet); ((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet); ((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet); ((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet); ((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet); ((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().b.sendPacket((Packet<?>) packet); ((CraftPlayer) p).getHandle().b.sendPacket((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().connection.send((Packet<?>) packet); ((CraftPlayer) p).getHandle().connection.send((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getGameProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getGameProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().connection.send((Packet<?>) packet); ((CraftPlayer) p).getHandle().connection.send((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getGameProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getGameProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().connection.send((Packet<?>) packet); ((CraftPlayer) p).getHandle().connection.send((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getGameProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getGameProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().connection.send((Packet<?>) packet); ((CraftPlayer) p).getHandle().connection.send((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getGameProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getGameProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().connection.send((Packet<?>) packet); ((CraftPlayer) p).getHandle().connection.send((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getGameProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getGameProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().connection.send((Packet<?>) packet); ((CraftPlayer) p).getHandle().connection.send((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getGameProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getGameProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().connection.send((Packet<?>) packet); ((CraftPlayer) p).getHandle().connection.send((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getGameProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getGameProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().connection.send((Packet<?>) packet); ((CraftPlayer) p).getHandle().connection.send((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getGameProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getGameProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().connection.send((Packet<?>) packet); ((CraftPlayer) p).getHandle().connection.send((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getGameProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getGameProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().connection.send((Packet<?>) packet); ((CraftPlayer) p).getHandle().connection.send((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getGameProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getGameProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().connection.send((Packet<?>) packet); ((CraftPlayer) p).getHandle().connection.send((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getGameProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getGameProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet) packet); ((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet); ((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet); ((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet); ((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile();

View File

@ -13,6 +13,7 @@ public class NMSPlayerImpl implements NMSPlayer {
((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet); ((CraftPlayer) p).getHandle().playerConnection.sendPacket((Packet<?>) packet);
} }
@Override
public GameProfile getProfile(Player p) { public GameProfile getProfile(Player p) {
com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile(); com.mojang.authlib.GameProfile profile = ((CraftPlayer) p).getHandle().getProfile();