mirror of
https://github.com/songoda/EpicEnchants.git
synced 2024-12-22 00:58:01 +01:00
Update to core version 3.3.0-SNAPSHOT
This commit is contained in:
parent
a626167277
commit
71190be103
2
pom.xml
2
pom.xml
@ -122,7 +122,7 @@
|
||||
<dependency>
|
||||
<groupId>com.craftaro</groupId>
|
||||
<artifactId>CraftaroCore</artifactId>
|
||||
<version>3.1.0-SNAPSHOT</version>
|
||||
<version>3.3.0-SNAPSHOT</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
|
@ -106,11 +106,11 @@ public class BookListener extends ItemListener {
|
||||
useItem(event);
|
||||
event.getPlayer().getInventory().addItem(enchant.get().getBook().get(enchant.get(), level));
|
||||
|
||||
event.getPlayer().sendMessage(this.instance.getLocale().getMessage("book.discover")
|
||||
this.instance.getLocale().getMessage("book.discover")
|
||||
.processPlaceholder("group_name", group.getName())
|
||||
.processPlaceholder("group_color", group.getColor())
|
||||
.processPlaceholder("enchant_format", enchant.get().getFormat())
|
||||
.processPlaceholder("level", level)
|
||||
.getPrefixedMessage());
|
||||
.sendPrefixedMessage(event.getPlayer());
|
||||
}
|
||||
}
|
||||
|
@ -62,12 +62,12 @@ public class EnchanterMenu extends FastInv {
|
||||
|
||||
if (EconomyManager.isEnabled()) {
|
||||
EconomyManager.withdrawBalance(player, ecoCost);
|
||||
event.getPlayer().sendMessage(instance.getLocale().getMessage("enchanter.success")
|
||||
instance.getLocale().getMessage("enchanter.success")
|
||||
.processPlaceholder("group_name", group.getName())
|
||||
.processPlaceholder("group_color", group.getColor())
|
||||
.processPlaceholder("eco_cost", ecoCost)
|
||||
.processPlaceholder("exp_cost", expCost)
|
||||
.getPrefixedMessage());
|
||||
.sendPrefixedMessage(event.getPlayer());
|
||||
}
|
||||
|
||||
changeExp(player, -expCost);
|
||||
|
Loading…
Reference in New Issue
Block a user