Fix missing return type of World#submit.

This commit is contained in:
Major-
2015-02-27 03:36:28 +00:00
parent 3d2484c42d
commit 3e4ecb5c73
+3 -2
View File
@@ -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);
} }
/** /**