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 efa694c commit 3a25a93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,8 @@ dependencies {
compileOnly 'com.viaversion:viaversion-api:4.0.1'
compileOnly 'com.github.ProtocolSupport:ProtocolSupport:3d24efeda6'

compileOnly 'org.github.spigot:1.16.2:1.16.2'
compileOnly 'org.github.spigot:1.8.8:1.8.8'
compileOnly 'org.github.spigot:1.7.10:1.7.10'
compileOnly group: 'com.github.azbh111', name: 'craftbukkit-1.8.8', version: 'R'
compileOnly group: 'com.github.azbh111', name: 'craftbukkit-1.7.10', version: 'R'
}

group = 'io.github.retrooper'
Expand Down
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 3a25a93

Please sign in to comment.