From e973aab3841ae16dfee2d68928cf6bdaf9dcebcc Mon Sep 17 00:00:00 2001 From: MightyPork Date: Sun, 27 Jul 2014 19:29:11 +0200 Subject: [PATCH] Made wasServed() method public in BusEvent --- src/mightypork/utils/eventbus/BusEvent.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mightypork/utils/eventbus/BusEvent.java b/src/mightypork/utils/eventbus/BusEvent.java index 63f4196..4ccf5f1 100644 --- a/src/mightypork/utils/eventbus/BusEvent.java +++ b/src/mightypork/utils/eventbus/BusEvent.java @@ -82,8 +82,8 @@ public abstract class BusEvent { /** - * Check if the event is consumed. Consumed event is not served to other - * clients. + * Check if the event is consumed. When an event is consumed, no other + * clients will receive it. * * @return true if consumed */ @@ -96,7 +96,7 @@ public abstract class BusEvent { /** * @return true if the event was served to at least 1 client */ - final boolean wasServed() + public final boolean wasServed() { return served; }