mirror of
https://github.com/Crazy-Crew/CrazyAuctions.git
synced 2024-11-12 10:24:29 +01:00
code cleanup
This commit is contained in:
parent
1096c3940c
commit
c2de90e09c
@ -115,11 +115,7 @@ public class Main extends JavaPlugin implements Listener {
|
||||
if (Files.DATA.getFile().getInt("Items." + i + ".StoreID") == id) id = r.nextInt(Integer.MAX_VALUE);
|
||||
Files.DATA.getFile().set("Items." + num + ".StoreID", id);
|
||||
ShopType type = ShopType.SELL;
|
||||
if (args[0].equalsIgnoreCase("Bid")) {
|
||||
Files.DATA.getFile().set("Items." + num + ".Biddable", true);
|
||||
} else {
|
||||
Files.DATA.getFile().set("Items." + num + ".Biddable", false);
|
||||
}
|
||||
Files.DATA.getFile().set("Items." + num + ".Biddable", args[0].equalsIgnoreCase("Bid"));
|
||||
Files.DATA.getFile().set("Items." + num + ".TopBidder", "None");
|
||||
ItemStack I = item.clone();
|
||||
I.setAmount(amount);
|
||||
|
@ -1,12 +1,11 @@
|
||||
name: CrazyAuctions
|
||||
author: BadBones69
|
||||
main: me.badbones69.crazyauctions.Main
|
||||
website: https://www.spigotmc.org/resources/authors/kicjow.9719/
|
||||
website: https://www.spigotmc.org/resources/authors/badbones69.9719/
|
||||
version: ${version}${build.number}
|
||||
depend: [Vault]
|
||||
api-version: 1.13
|
||||
description: >
|
||||
A plugin to auction off items globally.
|
||||
description: A plugin to auction off items globally.
|
||||
commands:
|
||||
ca:
|
||||
description: Opens the Crazy Auctions GUI.
|
||||
|
Loading…
Reference in New Issue
Block a user