for (CraftBookDelegateListener listener : main.disconnectListeners) { listener.onDisconnect(player); }
}
public boolean onBlockPlace(Player p, Block pp, Block cp, Item itemInHand) {
PlayerInterface player = new HmodPlayerImpl(p, w);
BlockVector pv = new BlockVector(pp.getX(), pp.getY(), pp.getZ());
BlockVector cv = new BlockVector(cp.getX(), cp.getY(), cp.getZ());
for (CraftBookDelegateListener listener : main.blockPlaceListeners) {
if (listener.onBlockPlace(w, player, pv, cv, itemInHand.getItemId()))
return true;