Skip to content

Update src/main/java/org/bukkit/event/Event.java #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 17, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/main/java/org/bukkit/event/Event.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public Event() {

/**
* This constructor is used to explicitly declare an event as synchronous or asynchronous.
*
* @param isAsync true indicates the event will fire asynchronously. false by default
*/
public Event(boolean isAsync) {
Expand Down Expand Up @@ -47,6 +48,7 @@ public String getEventName() {
* <li>Some implementations may selectively declare a specific event use as asynchronous.
* This behavior should be clearly defined.</li>
* <li>Asynchronous calls are not calculated in the plugin timing system.</li>
*
* @return false by default, true if the event fires asynchronously
*/
public final boolean isAsynchronous() {
Expand Down