This commit is contained in:
Jesse Boyd 2015-11-15 13:51:28 +11:00
parent ab5e826fe8
commit 9218147aa0
3 changed files with 4 additions and 1 deletions

View File

@ -77,6 +77,9 @@ public class Rate extends SubCommand {
v2 -= 11 - entry.getValue().getAverageRating();
}
}
if (v1 == v2) {
return -0;
}
return v2 > v1 ? 1 : -1;
}
});

View File

@ -1032,7 +1032,7 @@ public class PlayerEvents extends com.plotsquared.listener.PlotListener implemen
Location loc = BukkitUtil.getLocation(blocks.get(0).getLocation());
final Plot origin = MainUtil.getPlot(loc);
if (origin == null) {
if (MainUtil.isPlotAreaAbs(null)) {
if (MainUtil.isPlotAreaAbs(loc)) {
e.setCancelled(true);
return;
}

Binary file not shown.