mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-04 09:10:17 +01:00
*
This commit is contained in:
parent
82db8d6bdb
commit
e4154f74b7
@ -1669,7 +1669,7 @@ public class PlayerEvents extends com.intellectualcrafters.plot.listeners.PlotLi
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Priorize plots for close to seamless pvp zones
|
// Priorize plots for close to seamless pvp zones
|
||||||
plot = vplot == null ? dplot : ((dplot == null || victim instanceof Player) ? vplot : (victim.getTicksLived() > damager.getTicksLived() ? dplot : vplot));
|
plot = vplot == null ? dplot : ((dplot == null || !(victim instanceof Player)) ? vplot : (victim.getTicksLived() > damager.getTicksLived() ? dplot : vplot));
|
||||||
stub = plot.hasOwner() ? "other" : "unowned";
|
stub = plot.hasOwner() ? "other" : "unowned";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user