Skip to content

Commit

Permalink
Update ViaVersionProtocolSupportBukkit.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Outfit8TSB authored Oct 22, 2024
1 parent efb3068 commit e7f0526
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,17 @@ public void onLoad() {
}
@Override
public void onEnable() {
Via.getManager().addEnableListener(() -> this.init());
Component message = Component.text()
.append(Component.text("ViaVersion", NamedTextColor.AQUA))
.append(Component.text("ProtocolSupport", NamedTextColor.GRAY))
.build();
Bukkit.getServer().sendMessage(message);
this.start()
}

public void start() {
com.viaversion.viaversion.api.Via.getManager().addEnableListener(() -> this.init());
}

@Override
public void disable() {
Expand Down

0 comments on commit e7f0526

Please sign in to comment.