Search in sources :

Example 1 with WarlordsFlagUpdatedEvent

use of com.ebicep.warlords.events.WarlordsFlagUpdatedEvent in project Warlords by ebicep.

the class FlagSpawnPointOption method onFlagUpdate.

private void onFlagUpdate(FlagInfo info, FlagLocation old) {
    scoreboard.markChanged();
    Bukkit.getPluginManager().callEvent(new WarlordsFlagUpdatedEvent(game, info, old));
    renderer.checkRender();
}
Also used : WarlordsFlagUpdatedEvent(com.ebicep.warlords.events.WarlordsFlagUpdatedEvent)

Aggregations

WarlordsFlagUpdatedEvent (com.ebicep.warlords.events.WarlordsFlagUpdatedEvent)1