Version to 8.3

This commit is contained in:
ryanhamshire 2014-10-15 19:32:40 -07:00
parent 7fcba46c40
commit 370f94a531
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ name: GriefPrevention
main: me.ryanhamshire.GriefPrevention.GriefPrevention main: me.ryanhamshire.GriefPrevention.GriefPrevention
softdepend: [Vault, Multiverse-Core, My Worlds, MystCraft, Transporter] softdepend: [Vault, Multiverse-Core, My Worlds, MystCraft, Transporter]
dev-url: http://dev.bukkit.org/server-mods/grief-prevention dev-url: http://dev.bukkit.org/server-mods/grief-prevention
version: 8.2.3 version: 8.3
commands: commands:
abandonclaim: abandonclaim:
description: Deletes a claim. description: Deletes a claim.

View File

@ -331,7 +331,7 @@ public class BlockEventHandler implements Listener
{ {
if(!playerData.warnedAboutBuildingOutsideClaims if(!playerData.warnedAboutBuildingOutsideClaims
&& ((playerData.lastClaim == null && playerData.claims.size() == 0) && ((playerData.lastClaim == null && playerData.claims.size() == 0)
|| playerData.lastClaim.isNear(player.getLocation(), 15))) || (playerData.lastClaim != null && playerData.lastClaim.isNear(player.getLocation(), 15))))
{ {
GriefPrevention.sendMessage(player, TextMode.Warn, Messages.BuildingOutsideClaims); GriefPrevention.sendMessage(player, TextMode.Warn, Messages.BuildingOutsideClaims);
playerData.warnedAboutBuildingOutsideClaims = true; playerData.warnedAboutBuildingOutsideClaims = true;