mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 16:46:45 +01:00
.
This commit is contained in:
parent
f471a05dcd
commit
82db8d6bdb
@ -1747,9 +1747,7 @@ public class PlayerEvents extends com.intellectualcrafters.plot.listeners.PlotLi
|
|||||||
if (plot != null) {
|
if (plot != null) {
|
||||||
Flag pvp = FlagManager.getPlotFlag(plot, "pvp");
|
Flag pvp = FlagManager.getPlotFlag(plot, "pvp");
|
||||||
if (pvp == null) {
|
if (pvp == null) {
|
||||||
if (victim.getTicksLived() > damager.getTicksLived() ? plot.isAdded(BukkitUtil.getPlayer((Player) victim).getUUID()) : plot.isAdded(pp.getUUID())) {
|
return;
|
||||||
return;
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
if ((Boolean) pvp.getValue()) {
|
if ((Boolean) pvp.getValue()) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user