Skip to content

Commit

Permalink
1.5.31
Browse files Browse the repository at this point in the history
-SelectorListener#register
  • Loading branch information
anjoismysign committed Nov 27, 2022
1 parent 6ff3548 commit a654280
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package us.mytheria.bloblib.entities.listeners;

import us.mytheria.bloblib.BlobLib;
import us.mytheria.bloblib.entities.inventory.VariableSelector;

public class SelectorListener extends InputListener {
Expand All @@ -12,11 +11,6 @@ public SelectorListener(String owner, long timeout, Runnable inputRunnable,
super(owner, timeout, inputRunnable, timeoutRunnable);
this.selector = selector;
selector.open();
register();
}

private void register() {
BlobLib.getInstance().getSelectorManager().addSelectorListener(getPlayerOwner(), this);
}

@Override
Expand Down

0 comments on commit a654280

Please sign in to comment.