FIx claimnearby message
This commit is contained in:
parent
2eb082bbd6
commit
85ffc29157
|
|
@ -2737,7 +2737,7 @@ public class GriefPrevention extends JavaPlugin
|
|||
}
|
||||
else if (permissionLevel == ClaimPermission.Claim)
|
||||
{
|
||||
permissionDescription = "Granted this player the ability to claim near your claim, this is not a permanent trust."; // TODO message
|
||||
permissionDescription = Config.claimNearPlayerTrusted;
|
||||
}
|
||||
else //ClaimPermission.Inventory
|
||||
{
|
||||
|
|
|
|||
|
|
@ -200,10 +200,12 @@ public class Config extends AbstractConfig {
|
|||
public static String claimCreatedOutsideBorder = "<red>You can't create a claim outside of the world border.";
|
||||
public static String claimNearAdminClaim = "<red>You can't claim this close to an admin claim.";
|
||||
public static String claimNearPlayerClaim = "<red>You can't claim this close to <otherclaimowner>'s claim.";
|
||||
public static String claimNearPlayerTrusted = "claim near you";
|
||||
private static void messages() {
|
||||
claimCreatedOutsideBorder = config.getString("messages.claim-outside-border", claimCreatedOutsideBorder);
|
||||
claimNearAdminClaim = config.getString("messages.claim-near-admin", claimNearAdminClaim);
|
||||
claimNearPlayerClaim = config.getString("messages.claim-near-player", claimNearPlayerClaim);
|
||||
claimNearPlayerTrusted = config.getString("messages.claim-near-trusted", claimNearPlayerClaim);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user