Skip to content

Commit

Permalink
Fix PLAYER_DOES_NOT_HAVE_ENOUGH_ITEM message being null.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zerthick committed Dec 14, 2016
1 parent b9eefa9 commit ed37cf2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

@Plugin(id = "playershopsrpg",
name = "PlayerShopsRPG",
version = "1.0.0",
version = "1.0.1",
description = "A region-based player shop plugin.")
public class PlayerShopsRPG {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public class Messages {
public static final String INVALID_MAX_ITEM_AMOUNT = messageProps.getProperty("INVALID_MAX_ITEM_AMOUNT");
public static final String INVALID_ITEM_BUY_PRICE = messageProps.getProperty("INVALID_ITEM_BUY_PRICE");
public static final String SHOP_DOES_NOT_BUY_ITEM = messageProps.getProperty("SHOP_DOES_NOT_BUY_ITEM");
public static final String PLAYER_DOES_NOT_HAVE_ENOUGH_ITEM = messageProps.getProperty("PLAYER_DOES_NOT_HAVE_ENOUGH_ITEM ");
public static final String PLAYER_DOES_NOT_HAVE_ENOUGH_ITEM = messageProps.getProperty("PLAYER_DOES_NOT_HAVE_ENOUGH_ITEM");
public static final String SHOP_DOES_NOT_HAVE_ENOUGH_FUNDS = messageProps.getProperty("SHOP_DOES_NOT_HAVE_ENOUGH_FUNDS");
public static final String SHOP_DOES_NOT_SELL_ITEM = messageProps.getProperty("SHOP_DOES_NOT_SELL_ITEM");
public static final String SHOP_DOES_NOT_HAVE_ENOUGH_ITEM = messageProps.getProperty("SHOP_DOES_NOT_HAVE_ENOUGH_ITEM");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ messages = {
PLAYER_DOES_NOT_HAVE_ENOUGH_ITEM = "You don't have {ITEM_AMOUNT} {ITEM_NAME}(s)!"
SHOP_DOES_NOT_HAVE_ENOUGH_FUNDS = "{SHOP_NAME} does not have enough funds!"
SHOP_DOES_NOT_SELL_ITEM = "{SHOP_NAME} does not sell {ITEM_NAME}!"
SHOP_DOES_NOT_HAVE_ENOUGH_ITEM = "{SHOP_NAME} does not have {ITEM_AMOUNT} {ITEM_NAME}(S)!"
SHOP_DOES_NOT_HAVE_ENOUGH_ITEM = "{SHOP_NAME} does not have {ITEM_AMOUNT} {ITEM_NAME}(s)!"
PLAYER_IS_NOT_A_MANAGER = "{PLAYER_NAME} is not a manager of this shop!"

#Command Messages
Expand Down

0 comments on commit ed37cf2

Please sign in to comment.