Skip to content

Commit

Permalink
Renamed main class to TwerkingForTrees
Browse files Browse the repository at this point in the history
  • Loading branch information
Poslovitch committed Dec 15, 2019
1 parent dc1490e commit 5afeecb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import world.bentobox.bentobox.api.addons.Addon;
import world.bentobox.twerk.events.TreeGrowEvent;

public final class ForTrees extends Addon {
public final class TwerkingForTrees extends Addon {

@Override
public void onLoad() {
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/world/bentobox/twerk/events/TreeGrowEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

import world.bentobox.bentobox.database.objects.Island;
import world.bentobox.bentobox.util.Util;
import world.bentobox.twerk.ForTrees;
import world.bentobox.twerk.TwerkingForTrees;

public class TreeGrowEvent implements Listener {

Expand Down Expand Up @@ -67,12 +67,12 @@ public class TreeGrowEvent implements Listener {
SAPLING_TO_BIG_TREE_TYPE = Collections.unmodifiableMap(conv);
}

private ForTrees addon;
private TwerkingForTrees addon;
private Map<Island, Integer> twerkCount;
private Set<Island> isTwerking;
private Map<Block, Island> plantedTrees;

public TreeGrowEvent(@NonNull ForTrees addon) {
public TreeGrowEvent(@NonNull TwerkingForTrees addon) {
this.addon = addon;
twerkCount = new HashMap<>();
isTwerking = new HashSet<>();
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/addon.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: TwerkingForTrees
main: world.bentobox.twerk.ForTrees
main: world.bentobox.twerk.TwerkingForTrees
version: ${version}${build.number}
icon: OAK_SAPLING

Expand Down

0 comments on commit 5afeecb

Please sign in to comment.