From c2060ea1a78961f939a645c7ac53cbc1b44a3b9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20S=C3=B6derberg?= Date: Fri, 10 Apr 2020 19:11:53 +0200 Subject: [PATCH] Remove deprecation of `getOwner()` --- .../intellectualsites/plotsquared/plot/object/Plot.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/object/Plot.java b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/object/Plot.java index 66b6b56bd..8bfb493f5 100644 --- a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/object/Plot.java +++ b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/object/Plot.java @@ -411,16 +411,13 @@ public class Plot { } /** - * plot owner + * Get the plot owner of this particular sub-plot. * (Merged plots can have multiple owners) - * Direct access is Deprecated: use getOwners() + * Direct access is discouraged: use getOwners() * * @see #getOwnerAbs() getOwnerAbs() to get the owner as stored in the database - * @deprecated A mega-plot may have multiple owners - * and this method only considers the - * owner of this particular sub-plot. */ - @Deprecated public UUID getOwner() { + public UUID getOwner() { if (MainUtil.isServerOwned(this)) { return DBFunc.SERVER; }