Skip to content

Commit

Permalink
Removed useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
Devlrxxh committed Apr 6, 2024
1 parent 6c71907 commit 5abcde4
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 247 deletions.
11 changes: 0 additions & 11 deletions src/main/java/me/lrxh/practice/profile/ProfileListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
import me.lrxh.practice.match.Match;
import me.lrxh.practice.match.MatchState;
import me.lrxh.practice.profile.hotbar.HotbarItem;
import me.lrxh.practice.profile.meta.option.button.AllowSpectatorsOptionButton;
import me.lrxh.practice.profile.meta.option.button.DuelRequestsOptionButton;
import me.lrxh.practice.profile.meta.option.button.ShowScoreboardOptionButton;
import me.lrxh.practice.profile.option.OptionsOpenedEvent;
import me.lrxh.practice.profile.visibility.VisibilityLogic;
import me.lrxh.practice.util.CC;
import me.lrxh.practice.util.PlaceholderUtil;
Expand Down Expand Up @@ -126,13 +122,6 @@ public void soilChangePlayer(PlayerInteractEvent event) {
event.setCancelled(true);
}

@EventHandler
public void onOptionsOpenedEvent(OptionsOpenedEvent event) {
event.getButtons().add(new ShowScoreboardOptionButton());
event.getButtons().add(new AllowSpectatorsOptionButton());
event.getButtons().add(new DuelRequestsOptionButton());
}

@EventHandler(priority = EventPriority.HIGHEST)
public void onPlayerInteract(PlayerInteractEvent event) {
if (event.getItem() != null && (event.getAction() == Action.RIGHT_CLICK_AIR || event.getAction() == Action.RIGHT_CLICK_BLOCK)) {
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 5abcde4

Please sign in to comment.