Skip to content

Commit

Permalink
fix mistake in event instance cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Aug 22, 2022
1 parent d73ebef commit 61fb8b9
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 5 deletions.
Expand Up @@ -9,9 +9,6 @@

public class PlayerCompletesAdvancementScriptEventPaperImpl extends PlayerCompletesAdvancementScriptEvent {

public PlayerCompletesAdvancementScriptEventPaperImpl() {
}

@Override
public ObjectTag getContext(String name) {
switch (name) {
Expand Down
Expand Up @@ -45,7 +45,6 @@ public BlockDestroyedByExplosionEvent() {
registerCouldMatcher("<block> destroyed by explosion");
}

public static BlockDestroyedByExplosionEvent instance;
public BlockExplodeEvent blockEvent;
public EntityExplodeEvent entityEvent;
public LocationTag location;
Expand Down
Expand Up @@ -53,7 +53,6 @@ public PlayerClicksBlockScriptEvent() {
registerSwitches("with", "using", "type");
}

public PlayerClicksBlockScriptEvent instance;
public PlayerInteractEvent event;
public ItemTag item;
public LocationTag location;
Expand Down
Expand Up @@ -46,6 +46,7 @@ public class PlayerHoldsItemEvent extends BukkitScriptEvent implements Listener

public PlayerHoldsItemEvent() {
registerCouldMatcher("player raises|lowers|toggles <item>");
instance = this;
}

public static PlayerHoldsItemEvent instance;
Expand Down

0 comments on commit 61fb8b9

Please sign in to comment.