Convert components, add Towny-Factions #14
3 changed files with 3 additions and 2 deletions
|
@ -15,4 +15,4 @@ commands:
|
|||
description: A set of commands designed for R and D
|
||||
|
||||
softdepend: [Factions]
|
||||
depend: [ButtonCore]
|
||||
depend: [ChromaCore]
|
|
@ -56,7 +56,7 @@ public class TownyFactionsComponent extends Component<ButtonPresents> implements
|
|||
int distance = max * amount;
|
||||
if (distance().get() >= distance) {
|
||||
event.setCancelled(true);
|
||||
event.getSender().sendMessage("§cYou are too close to a town!");
|
||||
event.getSender().sendMessage("§cYou are too close to a town! " + distance + " chunks away, " + distance().get() + " is allowed.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,3 +15,4 @@ commands:
|
|||
description: A set of commands designed for R and D
|
||||
|
||||
softdepend: [Factions]
|
||||
depend: [ChromaCore]
|
Loading…
Reference in a new issue