mirror of
				https://e.coding.net/circlecloud/QuickShop.git
				synced 2025-11-03 17:56:41 +00:00 
			
		
		
		
	
							
								
								
									
										4
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								pom.xml
									
									
									
									
									
								
							@@ -3,7 +3,7 @@
 | 
			
		||||
	<modelVersion>4.0.0</modelVersion>
 | 
			
		||||
	<groupId>org.maxgamer</groupId>
 | 
			
		||||
	<artifactId>QuickShop</artifactId>
 | 
			
		||||
	<version>1.5.1</version>
 | 
			
		||||
	<version>1.5.2</version>
 | 
			
		||||
	<description>快捷商店重置版本...</description>
 | 
			
		||||
	<build>
 | 
			
		||||
		<finalName>${project.name}</finalName>
 | 
			
		||||
@@ -54,7 +54,7 @@
 | 
			
		||||
	</build>
 | 
			
		||||
	<properties>
 | 
			
		||||
		<jenkins.url>http://ci.citycraft.cn:8080</jenkins.url>
 | 
			
		||||
		<update.description>完善7老板的底层Gson库...</update.description>
 | 
			
		||||
		<update.description>&4紧急更新 &c修复金斧权限检测问题...</update.description>
 | 
			
		||||
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 | 
			
		||||
	</properties>
 | 
			
		||||
	<repositories>
 | 
			
		||||
 
 | 
			
		||||
@@ -165,19 +165,19 @@ public class PlayerListener implements Listener {
 | 
			
		||||
				final Location loc = shop.getLocation();
 | 
			
		||||
				String shopmode = "";
 | 
			
		||||
				if (e.getAction() == Action.RIGHT_CLICK_BLOCK) {
 | 
			
		||||
					if (p.hasPermission("quickshop.unlimited")) {
 | 
			
		||||
					if (p.hasPermission("quickshop.unlimited") && (shop.getOwner().equalsIgnoreCase(p.getName()) || p.isOp())) {
 | 
			
		||||
						shop.setUnlimited(!shop.isUnlimited());
 | 
			
		||||
						shopmode = shop.isUnlimited() ? "§e无限模式" : "§c有限模式";
 | 
			
		||||
						p.sendMessage(MsgUtil.p("command.toggle-unlimited", shopmode));
 | 
			
		||||
						return;
 | 
			
		||||
					}
 | 
			
		||||
				} else {
 | 
			
		||||
					if (shop.getShopType() == ShopType.BUYING && p.hasPermission("quickshop.create.sell")) {
 | 
			
		||||
					if (shop.getShopType() == ShopType.BUYING && p.hasPermission("quickshop.create.sell") && (shop.getOwner().equalsIgnoreCase(p.getName()) || p.isOp())) {
 | 
			
		||||
						shop.setShopType(ShopType.SELLING);
 | 
			
		||||
						p.sendMessage(MsgUtil.p("command.now-selling", shop.getDataName()));
 | 
			
		||||
						shopmode = "出售模式";
 | 
			
		||||
						return;
 | 
			
		||||
					} else if (shop.getShopType() == ShopType.SELLING && p.hasPermission("quickshop.create.buy")) {
 | 
			
		||||
					} else if (shop.getShopType() == ShopType.SELLING && p.hasPermission("quickshop.create.buy") && (shop.getOwner().equalsIgnoreCase(p.getName()) || p.isOp())) {
 | 
			
		||||
						shop.setShopType(ShopType.BUYING);
 | 
			
		||||
						p.sendMessage(MsgUtil.p("command.now-buying", shop.getDataName()));
 | 
			
		||||
						shopmode = "收购模式";
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
name: ${project.artifactId}
 | 
			
		||||
description: ${project.description}
 | 
			
		||||
main: ${project.groupId}.${project.artifactId}.${project.artifactId}
 | 
			
		||||
version: ${project.version}
 | 
			
		||||
version: ${project.version}-Build#${env.BUILD_NUMBER}
 | 
			
		||||
authors:
 | 
			
		||||
- Netherfoam
 | 
			
		||||
- Timtower
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user