From 10ee7e19302493d0b335d108b71eadd89b178c35 Mon Sep 17 00:00:00 2001 From: EnZaXD Date: Wed, 21 Aug 2024 19:14:40 +0200 Subject: [PATCH] Deprecate StoredObject#getUser (#4104) --- .../viaversion/viaversion/api/connection/StoredObject.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api/src/main/java/com/viaversion/viaversion/api/connection/StoredObject.java b/api/src/main/java/com/viaversion/viaversion/api/connection/StoredObject.java index c0bc70137..d9724008b 100644 --- a/api/src/main/java/com/viaversion/viaversion/api/connection/StoredObject.java +++ b/api/src/main/java/com/viaversion/viaversion/api/connection/StoredObject.java @@ -29,6 +29,11 @@ public abstract class StoredObject implements StorableObject { this.user = user; } + public UserConnection user() { + return this.user; + } + + @Deprecated public UserConnection getUser() { return user; }