Various fixes + pick block restriction

Block picking in other plots will now limit block contents ( @xion87 you
may be interested in this)

Fixes
- Cluster regeneration
- world creation + cauldron
- armor stand interaction in 1.8.0/1
This commit is contained in:
boy0001
2015-05-14 01:49:57 +10:00
parent 94fa119813
commit 710b62fbf5
7 changed files with 172 additions and 41 deletions

View File

@ -89,6 +89,7 @@ import com.intellectualcrafters.plot.listeners.ForceFieldListener;
import com.intellectualcrafters.plot.listeners.InventoryListener;
import com.intellectualcrafters.plot.listeners.PlayerEvents;
import com.intellectualcrafters.plot.listeners.PlayerEvents_1_8;
import com.intellectualcrafters.plot.listeners.PlayerEvents_1_8_3;
import com.intellectualcrafters.plot.listeners.PlotListener;
import com.intellectualcrafters.plot.listeners.PlotPlusListener;
import com.intellectualcrafters.plot.listeners.TNTListener;
@ -346,6 +347,9 @@ public class BukkitMain extends JavaPlugin implements Listener, IPlotMain {
if (checkVersion(1, 8, 0)) {
getServer().getPluginManager().registerEvents(new PlayerEvents_1_8(), this);
}
if (checkVersion(1, 8, 3)) {
getServer().getPluginManager().registerEvents(new PlayerEvents_1_8_3(), this);
}
}
@Override