Fixed plot permissions never working.

This commit is contained in:
Roman Alexander 2015-03-11 11:08:51 -04:00
parent 044abeaee9
commit e016cb5c85
5 changed files with 7 additions and 7 deletions

View file

@ -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) {