diff --git a/src/main/java/me/tori/wraith/bus/EventBus.java b/src/main/java/me/tori/wraith/bus/EventBus.java index 14d8fea..76bc234 100644 --- a/src/main/java/me/tori/wraith/bus/EventBus.java +++ b/src/main/java/me/tori/wraith/bus/EventBus.java @@ -380,6 +380,13 @@ public boolean isShutdown() { return shutdown; } + /** + * @return the {@code id} of this event bus + */ + public int getId() { + return id; + } + /** * Checks if this event bus is equal to another object. *

If the given object is an event bus, it is only considered equal if {@code this.id == that.id}.