mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-05 16:49:04 +00:00
Fix missing return type of World#submit.
This commit is contained in:
@@ -361,9 +361,10 @@ public final class World {
|
|||||||
* Submits the specified {@link Event}, passing it to the listeners..
|
* Submits the specified {@link Event}, passing it to the listeners..
|
||||||
*
|
*
|
||||||
* @param event The Event.
|
* @param event The Event.
|
||||||
|
* @return {@code true} if the Event should proceed, {@code false} if not.
|
||||||
*/
|
*/
|
||||||
public void submit(Event event) {
|
public boolean submit(Event event) {
|
||||||
events.notify(event);
|
return events.notify(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user