throw new CommandException("bx cannot be greater than tx");
}
if (by > ty) {
throw new CommandException("by cannot be greater than ty");
}
for (ProtocolEvent e : m.drawRectangle(i, bx, by, tx, ty, col)) {
player.getNetwork().callProtocolEvent(e);
}
}
@CommandDescription (aliases = "mapflood", usage = "<col>", desc = "Floods the current map with the given color")