This commit is contained in:
boy0001 2015-07-10 01:33:06 +10:00
parent a2362882bf
commit f3639b61e3

View File

@ -135,11 +135,6 @@ public class PlotListener extends APlotListener {
final String sTitleSub = C.TITLE_ENTERED_PLOT_SUB.s().replaceAll("%x%", plot.id.x + "").replaceAll("%z%", plot.id.y + "").replaceAll("%world%", plot.world + "").replaceAll("%greeting%", greeting).replaceAll("%s", getName(plot.owner)).replaceAll("%alias%", alias);
AbstractTitle.sendTitle(pp, sTitleMain, sTitleSub, ChatColor.valueOf(C.TITLE_ENTERED_PLOT_COLOR.s()), ChatColor.valueOf(C.TITLE_ENTERED_PLOT_SUB_COLOR.s()));
}
Flag feed = FlagManager.getPlotFlag(plot, "feed");
if (feed != null) {
PlotPlusListener.manager.feed.getValue()
}
{
final PlayerEnterPlotEvent callEvent = new PlayerEnterPlotEvent(player, plot);
Bukkit.getPluginManager().callEvent(callEvent);