Skip to content

Commit

Permalink
Attempt to replace spigot
Browse files Browse the repository at this point in the history
  • Loading branch information
retrooper committed Nov 4, 2023
1 parent 3a25a93 commit 0528eb7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void onLoad() {

@Override
public void onEnable() {
PacketEvents.get().getEventManager().registerListener(new PacketListenerAbstract() {
/*PacketEvents.get().getEventManager().registerListener(new PacketListenerAbstract() {
@Override
public void onPacketPlayReceive(PacketPlayReceiveEvent event) {
if (event.getPacketId() == PacketType.Play.Client.USE_ENTITY) {
Expand Down Expand Up @@ -88,7 +88,7 @@ public void onPacketPlaySend(PacketPlaySendEvent event) {
System.out.println("eff: " + eff.getEffectId() + ", ampl: " + eff.getAmplifier() + ", dur:" + eff.getDuration());
}
}
});
});*/
PacketEvents.get().init();
}

Expand Down

0 comments on commit 0528eb7

Please sign in to comment.