mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2025-01-09 09:57:47 +01:00
Fix compile issues with the latest spigot version (#1510)
This commit is contained in:
parent
74833f8680
commit
1b4d79b302
@ -45,6 +45,7 @@ import net.bytebuddy.matcher.ElementMatchers;
|
|||||||
import org.bukkit.*;
|
import org.bukkit.*;
|
||||||
import org.bukkit.entity.EntityType;
|
import org.bukkit.entity.EntityType;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
import org.bukkit.profile.PlayerProfile;
|
||||||
|
|
||||||
import com.comphenix.protocol.utility.ByteBuddyFactory;
|
import com.comphenix.protocol.utility.ByteBuddyFactory;
|
||||||
|
|
||||||
@ -176,7 +177,12 @@ class SerializedOfflinePlayer implements OfflinePlayer, Serializable {
|
|||||||
public UUID getUniqueId() {
|
public UUID getUniqueId() {
|
||||||
return uuid;
|
return uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PlayerProfile getPlayerProfile() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return name;
|
return name;
|
||||||
|
Loading…
Reference in New Issue
Block a user