mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-09-27 14:13:05 +02:00
Added '-' to the supported name character list
This commit is contained in:
parent
a9aa932a6f
commit
bbeec231ec
@ -23,10 +23,10 @@ public class ChestShopSign {
|
|||||||
public static final byte ITEM_LINE = 3;
|
public static final byte ITEM_LINE = 3;
|
||||||
|
|
||||||
public static final Pattern[] SHOP_SIGN_PATTERN = {
|
public static final Pattern[] SHOP_SIGN_PATTERN = {
|
||||||
Pattern.compile("^[\\w ]*$"),
|
Pattern.compile("^[\\w -]*$"),
|
||||||
Pattern.compile("[0-9]+"),
|
Pattern.compile("^[0-9]+$"),
|
||||||
Pattern.compile("(?i)^[\\d.bs(free) :]+$"),
|
Pattern.compile("(?i)^[\\d.bs(free) :]+$"),
|
||||||
Pattern.compile("[\\w : -]+")
|
Pattern.compile("^[\\w : -]+$")
|
||||||
};
|
};
|
||||||
|
|
||||||
public static boolean isAdminShop(Inventory ownerInventory) {
|
public static boolean isAdminShop(Inventory ownerInventory) {
|
||||||
|
@ -2,7 +2,7 @@ name: ChestShop
|
|||||||
|
|
||||||
main: com.Acrobot.ChestShop.ChestShop
|
main: com.Acrobot.ChestShop.ChestShop
|
||||||
|
|
||||||
version: 3.50t0011
|
version: 3.50t0012
|
||||||
|
|
||||||
#for CButD
|
#for CButD
|
||||||
dev-url: http://dev.bukkit.org/server-mods/chestshop/
|
dev-url: http://dev.bukkit.org/server-mods/chestshop/
|
||||||
|
Loading…
Reference in New Issue
Block a user