mirror of
https://github.com/songoda/EpicBuckets.git
synced 2024-09-27 13:02:54 +02:00
Update 1.4, this resolves SD-990
This commit is contained in:
parent
b8f92dc8af
commit
1d58d31a2b
4
pom.xml
4
pom.xml
@ -2,7 +2,7 @@
|
||||
<groupId>com.songoda</groupId>
|
||||
<artifactId>EpicBuckets</artifactId>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<version>1.3</version>
|
||||
<version>1.4</version>
|
||||
<build>
|
||||
<defaultGoal>clean package</defaultGoal>
|
||||
<plugins>
|
||||
@ -122,7 +122,7 @@
|
||||
<url>http://nexus.hc.to/content/repositories/pub_releases</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>33_aikar</id>
|
||||
<id>3_aikar</id>
|
||||
<url>https://repo.aikar.co/content/groups/aikar/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
|
@ -39,6 +39,7 @@ public class CommandGenbucket extends BaseCommand {
|
||||
sender.sendMessage(ChatUtil.colorString("&f/epicbuckets shop: &7opens up the genbucket shop"));
|
||||
sender.sendMessage(ChatUtil.colorString("&f/epicbuckets admin toggle: &7toggle your status to receive genbucket placement notifications"));
|
||||
sender.sendMessage(ChatUtil.colorString("&f/epicbuckets admin panel: &7opens up the panel with all active genbuckets"));
|
||||
sender.sendMessage(ChatUtil.colorString("&f/epicbuckets give <player> <trait> <genItem> <amount> [cost]: &7gives the player a specific genbucket and, if supplied, withdraw the cost"));
|
||||
}
|
||||
|
||||
@Subcommand("give")
|
||||
@ -66,7 +67,7 @@ public class CommandGenbucket extends BaseCommand {
|
||||
EpicBuckets.getInstance().getShopManager().buyFromShop(player, subShop, Integer.parseInt(amount));
|
||||
return;
|
||||
}
|
||||
EpicBuckets.getInstance().getShopManager().giveGenbucketToPlayer(player, subShop, 0);
|
||||
EpicBuckets.getInstance().getShopManager().giveGenbucketToPlayer(player, subShop, Integer.parseInt(amount));
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user