mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 08:36:45 +01:00
Remove deprecation of getOwner()
This commit is contained in:
parent
7962004215
commit
c2060ea1a7
@ -411,16 +411,13 @@ public class Plot {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* plot owner
|
* Get the plot owner of this particular sub-plot.
|
||||||
* (Merged plots can have multiple owners)
|
* (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
|
* @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)) {
|
if (MainUtil.isServerOwned(this)) {
|
||||||
return DBFunc.SERVER;
|
return DBFunc.SERVER;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user