Tweaks and doc updates.

This commit is contained in:
MattBDev
2016-05-24 22:08:45 -04:00
parent 83f664129f
commit 465f7f4504
7 changed files with 144 additions and 143 deletions

View File

@ -1271,9 +1271,6 @@ public class PlayerEvents extends PlotListener implements Listener {
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
public void MobSpawn(CreatureSpawnEvent event) {
Entity entity = event.getEntity();
if (entity instanceof Player) {
return;
}
Location location = BukkitUtil.getLocation(entity.getLocation());
PlotArea area = location.getPlotArea();
if (area == null) {
@ -2128,7 +2125,7 @@ public class PlayerEvents extends PlotListener implements Listener {
plot = null;
stub = "road";
} else {
// Priorize plots for close to seamless pvp zones
// Prioritize plots for close to seamless pvp zones
if (victim.getTicksLived() > damager.getTicksLived()) {
if (dplot == null || !(victim instanceof Player)) {
if (vplot == null) {