mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-07-27 16:01:41 +00:00
Fixed plot permissions never working.
This commit is contained in:
parent
044abeaee9
commit
e016cb5c85
5 changed files with 7 additions and 7 deletions
|
@ -1101,8 +1101,8 @@ public class MainUtil {
|
|||
* @param p
|
||||
* @return
|
||||
*/
|
||||
public static int getAllowedPlots(final PlotPlayer p, final int current) {
|
||||
return Permissions.hasPermissionRange(p, "plots.plot", Settings.MAX_PLOTS, current);
|
||||
public static int getAllowedPlots(final PlotPlayer p) {
|
||||
return Permissions.hasPermissionRange(p, "plots.plot", Settings.MAX_PLOTS);
|
||||
}
|
||||
|
||||
public static Plot getPlot(final Location loc) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue