Fixed a chat message.

Link wasn't clickable, formatting was broken.
This commit is contained in:
ryanhamshire 2015-01-16 15:59:56 -08:00
parent a25d323897
commit 1eb211f0aa

View File

@ -2447,9 +2447,10 @@ public class GriefPrevention extends JavaPlugin
//no building in the wilderness in creative mode //no building in the wilderness in creative mode
if(this.creativeRulesApply(location)) if(this.creativeRulesApply(location))
{ {
String reason = this.dataStore.getMessage(Messages.NoBuildOutsideClaims) + " " + this.dataStore.getMessage(Messages.CreativeBasicsVideo2, DataStore.CREATIVE_VIDEO_URL); String reason = this.dataStore.getMessage(Messages.NoBuildOutsideClaims);
if(player.hasPermission("griefprevention.ignoreclaims")) if(player.hasPermission("griefprevention.ignoreclaims"))
reason += " " + this.dataStore.getMessage(Messages.IgnoreClaimsAdvertisement); reason += " " + this.dataStore.getMessage(Messages.IgnoreClaimsAdvertisement);
reason += " " + this.dataStore.getMessage(Messages.CreativeBasicsVideo2, DataStore.CREATIVE_VIDEO_URL);
return reason; return reason;
} }
@ -2483,9 +2484,10 @@ public class GriefPrevention extends JavaPlugin
//no building in the wilderness in creative mode //no building in the wilderness in creative mode
if(this.creativeRulesApply(location)) if(this.creativeRulesApply(location))
{ {
String reason = this.dataStore.getMessage(Messages.NoBuildOutsideClaims) + " " + this.dataStore.getMessage(Messages.CreativeBasicsVideo2, DataStore.CREATIVE_VIDEO_URL); String reason = this.dataStore.getMessage(Messages.NoBuildOutsideClaims);
if(player.hasPermission("griefprevention.ignoreclaims")) if(player.hasPermission("griefprevention.ignoreclaims"))
reason += " " + this.dataStore.getMessage(Messages.IgnoreClaimsAdvertisement); reason += " " + this.dataStore.getMessage(Messages.IgnoreClaimsAdvertisement);
reason += " " + this.dataStore.getMessage(Messages.CreativeBasicsVideo2, DataStore.CREATIVE_VIDEO_URL);
return reason; return reason;
} }