Skip to content

Commit dc2eec0

Browse files
committedMay 15, 2021
.
1 parent e39ab5a commit dc2eec0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎API/src/org/inventivetalent/packetlistener/PacketListenerAPI.java

+4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ public class PacketListenerAPI /*extends JavaPlugin*/ implements IPacketListener
2727
//This gets called either by #registerAPI above, or by the API manager if another plugin requires this API
2828
@Override
2929
public void load() {
30+
if (injected) {
31+
System.err.println("Already Injected! Restart your server, do not /reload");
32+
}
33+
3034
channelInjector = new ChannelInjector();
3135
if (injected = channelInjector.inject(this)) {
3236
channelInjector.addServerChannel();

0 commit comments

Comments
 (0)
Failed to load comments.