Skip to content

Commit 1b4d79b

Browse files
authored
Fix compile issues with the latest spigot version (#1510)
1 parent 74833f8 commit 1b4d79b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/main/java/com/comphenix/protocol/events/SerializedOfflinePlayer.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
import org.bukkit.*;
4646
import org.bukkit.entity.EntityType;
4747
import org.bukkit.entity.Player;
48+
import org.bukkit.profile.PlayerProfile;
4849

4950
import com.comphenix.protocol.utility.ByteBuddyFactory;
5051

@@ -176,7 +177,12 @@ public long getLastPlayed() {
176177
public UUID getUniqueId() {
177178
return uuid;
178179
}
179-
180+
181+
@Override
182+
public PlayerProfile getPlayerProfile() {
183+
return null;
184+
}
185+
180186
@Override
181187
public String getName() {
182188
return name;

0 commit comments

Comments
 (0)