mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
Expose the player's lock repository
This commit is contained in:
parent
ad40ab7e1e
commit
6a63e5bb51
@ -836,6 +836,15 @@ public abstract class PlotPlayer<P> implements CommandCaller, OfflinePlotPlayer
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get this player's {@link LockRepository}
|
||||||
|
*
|
||||||
|
* @return Lock repository instance
|
||||||
|
*/
|
||||||
|
@Nonnull public LockRepository getLockRepository() {
|
||||||
|
return this.lockRepository;
|
||||||
|
}
|
||||||
|
|
||||||
@FunctionalInterface
|
@FunctionalInterface
|
||||||
public interface PlotPlayerConverter<BaseObject> {
|
public interface PlotPlayerConverter<BaseObject> {
|
||||||
PlotPlayer<?> convert(BaseObject object);
|
PlotPlayer<?> convert(BaseObject object);
|
||||||
|
Loading…
Reference in New Issue
Block a user