Skip to content

Commit

Permalink
Renamed TreeGrowEvent to TreeGrowListener
Browse files Browse the repository at this point in the history
  • Loading branch information
Poslovitch committed Dec 15, 2019
1 parent 5afeecb commit 29f7eed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/java/world/bentobox/twerk/TwerkingForTrees.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package world.bentobox.twerk;

import world.bentobox.bentobox.api.addons.Addon;
import world.bentobox.twerk.events.TreeGrowEvent;
import world.bentobox.twerk.events.TreeGrowListener;

public final class TwerkingForTrees extends Addon {

Expand All @@ -13,7 +13,7 @@ public void onLoad() {
@Override
public void onEnable() {
// Register listener
registerListener(new TreeGrowEvent(this));
registerListener(new TreeGrowListener(this));
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import world.bentobox.bentobox.util.Util;
import world.bentobox.twerk.TwerkingForTrees;

public class TreeGrowEvent implements Listener {
public class TreeGrowListener implements Listener {

// The first entry in the list of the quads is where the big tree should be planted - always most positive x and z.
private static final List<BlockFace> QUAD1 = Arrays.asList(BlockFace.NORTH, BlockFace.EAST, BlockFace.NORTH_EAST, BlockFace.SELF);
Expand Down Expand Up @@ -72,7 +72,7 @@ public class TreeGrowEvent implements Listener {
private Set<Island> isTwerking;
private Map<Block, Island> plantedTrees;

public TreeGrowEvent(@NonNull TwerkingForTrees addon) {
public TreeGrowListener(@NonNull TwerkingForTrees addon) {
this.addon = addon;
twerkCount = new HashMap<>();
isTwerking = new HashSet<>();
Expand Down

0 comments on commit 29f7eed

Please sign in to comment.