Skip to content

Commit

Permalink
info
Browse files Browse the repository at this point in the history
  • Loading branch information
Angeschossen committed Mar 27, 2024
1 parent a89e6b7 commit 8ff0f24
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ java {
}

group = "com.github.angeschossen"
version = "1.0.16"
version = "1.0.17"
description = "PluginFrameworkAPI"
java.sourceCompatibility = JavaVersion.VERSION_1_8

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,16 @@

public abstract class PluginEvent extends Event {

public PluginEvent(){
public PluginEvent() {
super(!Bukkit.isPrimaryThread());
}

public abstract void setAffectedPlayers(ImmutableMap.@NotNull Builder<String, Collection<UUID>> builder);

public abstract void setExpressionVariables(ImmutableMap.@NotNull Builder<String, Object> builder);

@NotNull
public String getDebugInfo() {
return toString();
}
}

0 comments on commit 8ff0f24

Please sign in to comment.