Made wasServed() method public in BusEvent

master
Ondřej Hruška 11 years ago
parent 60b4876533
commit e973aab384
  1. 6
      src/mightypork/utils/eventbus/BusEvent.java

@ -82,8 +82,8 @@ public abstract class BusEvent<HANDLER> {
/** /**
* Check if the event is consumed. Consumed event is not served to other * Check if the event is consumed. When an event is consumed, no other
* clients. * clients will receive it.
* *
* @return true if consumed * @return true if consumed
*/ */
@ -96,7 +96,7 @@ public abstract class BusEvent<HANDLER> {
/** /**
* @return true if the event was served to at least 1 client * @return true if the event was served to at least 1 client
*/ */
final boolean wasServed() public final boolean wasServed()
{ {
return served; return served;
} }

Loading…
Cancel
Save