Skip to content

Commit

Permalink
don't forget netty one
Browse files Browse the repository at this point in the history
  • Loading branch information
AoElite committed Aug 21, 2024
1 parent 314d4a2 commit 9f44834
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public static PacketEventsAPI<BuildData> buildNoCache(BuildData data, ChannelInj
private final NettyManager nettyManager = new NettyManagerImpl();
private boolean loaded;
private boolean initialized;
private boolean terminated;

@Override
public void load() {
Expand Down Expand Up @@ -136,9 +137,15 @@ public void terminate() {
//Unregister all our listeners
getEventManager().unregisterAllListeners();
initialized = false;
terminated = true;
}
}

@Override
public boolean isTerminated() {
return terminated;
}

@Override
public BuildData getPlugin() {
return data;
Expand Down

0 comments on commit 9f44834

Please sign in to comment.