Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Commit

Permalink
Alpha 3.0-Pre 1 First prerelease is here! Don't use if you're not wil…
Browse files Browse the repository at this point in the history
…ling to deal with bugs. Backup your data too.
  • Loading branch information
creatorfromhell committed Sep 28, 2016
1 parent 3ff9100 commit f4ab11b
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 11 deletions.
1 change: 0 additions & 1 deletion Bugs Found.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Inventory systems(cost, blacklisted items, view controlling, and access lists sh

Bugs Found
----------
- NPE - InteractionListener:406
- Command help takes up too much screen space
- /tne create not found
- /tne purge doesn't reflect on reload
Expand Down
2 changes: 0 additions & 2 deletions plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ commands:
description: The base command for all credit-related commands.
pin:
description: The base command for all pin-related commands.
shop:
description: The base command for all shop-related commands.
theneweconomy:
description: The base command for all The New Economy core commands.
aliases: tne
Expand Down
2 changes: 0 additions & 2 deletions src/Release Notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,8 @@ Needs Tested:
* Inventory & Command Credits
* Shops
* Administrative commands
* Rewards for above completed features
* Disabling UUID support
* Shared economy data for worlds
* Bank balances for transactions
* Ability to create accounts via command


Expand Down
2 changes: 1 addition & 1 deletion src/com/github/tnerevival/TNE.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class TNE extends JavaPlugin {
public TNEAPI api = null;

public SimpleDateFormat dateFormat = new SimpleDateFormat("dd-MM-yyyy hh:mm:ss.S");
public static final boolean debugMode = true;
public static final boolean debugMode = false;

// Files & Custom Configuration Files
public File mobs;
Expand Down
6 changes: 3 additions & 3 deletions src/com/github/tnerevival/core/signs/ShopSign.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import com.github.tnerevival.TNE;
import com.github.tnerevival.core.shops.Shop;
import com.github.tnerevival.core.shops.ShopEntry;
import com.github.tnerevival.utils.MISCUtils;
import org.bukkit.ChatColor;
import org.bukkit.entity.Player;
import org.bukkit.inventory.Inventory;

Expand All @@ -16,7 +16,6 @@ public class ShopSign extends TNESign {

public ShopSign(UUID owner) {
super(owner);
this.title = MISCUtils.getPlayer(owner).getDisplayName() + "'s Shop";
setType(SignType.SHOP);
}

Expand All @@ -42,7 +41,8 @@ public String getName() {

public void setName(String name) {
if(TNE.instance.manager.shops.containsKey(name)) {
this.shop = TNE.instance.manager.shops.get(name);
this.title = ChatColor.GOLD + "[Shop]" + ChatColor.WHITE + name;
this.shop = TNE.instance.manager.shops.get(name);
}
}

Expand Down
3 changes: 3 additions & 0 deletions src/com/github/tnerevival/core/version/Alpha3_0.java
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,9 @@ public void saveFlat(File file) {
info.addData("type", sign.getType().getName());
info.addData("extra", sign.getMeta());
info.addData("location", sign.getLocation().toString());
a.addEntry(info);

signs.addArticle(sign.getLocation().toString(), a);
}

try {
Expand Down
4 changes: 2 additions & 2 deletions src/com/github/tnerevival/listeners/InteractionListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public void onEnchant(EnchantItemEvent event) {
return;
}

List<String> lore = new ArrayList<String>();
List<String> lore = new ArrayList<>();
lore.add(ChatColor.WHITE + "Enchanting Cost: " + ChatColor.GOLD + cost);

ItemMeta meta = result.getItemMeta();
Expand Down Expand Up @@ -273,7 +273,7 @@ public void onPreCraft(PrepareItemCraftEvent event) {
return;
}

List<String> lore = new ArrayList<String>();
List<String> lore = new ArrayList<>();
lore.add(ChatColor.WHITE + "Crafting Cost: " + ChatColor.GOLD + cost);

ItemStack result = event.getInventory().getResult();
Expand Down

0 comments on commit f4ab11b

Please sign in to comment.