Remove redundant call
Also remove todo, since it's possible to use the bonus claim blocks to "extend" the claim block limit via an addon: https://github.com/TechFortress/GriefPrevention/issues/41#issuecomment-261471314
This commit is contained in:
parent
d7e1b7d812
commit
409f2f7b33
|
|
@ -323,10 +323,8 @@ public class PlayerData
|
|||
//determine limits based on permissions
|
||||
private int getAccruedClaimBlocksLimit()
|
||||
{
|
||||
Player player = Bukkit.getServer().getPlayer(this.playerID);
|
||||
|
||||
//Player player = Bukkit.getServer().getPlayer(this.playerID);
|
||||
//if the player isn't online, give him the benefit of any doubt
|
||||
//TODO: revisit and perhaps call an event for this(?)
|
||||
//if(player == null) return Integer.MAX_VALUE;
|
||||
|
||||
return GriefPrevention.instance.config_claims_maxAccruedBlocks_default;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user