mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Remove deprecation of getOwner()
This commit is contained in:
parent
7962004215
commit
c2060ea1a7
1 changed files with 3 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue