Fixed a chat message.
Link wasn't clickable, formatting was broken.
This commit is contained in:
1 parent
a25d323897
commit
1eb211f0aa
1 file changed
+4
-2
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user