mirror of
				https://e.coding.net/circlecloud/TeleportRandom.git
				synced 2025-11-03 18:16:02 +00:00 
			
		
		
		
	
							
								
								
									
										5
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								pom.xml
									
									
									
									
									
								
							@@ -3,7 +3,7 @@
 | 
			
		||||
	<modelVersion>4.0.0</modelVersion>
 | 
			
		||||
	<groupId>pw.yumc</groupId>
 | 
			
		||||
	<artifactId>TeleportRandom</artifactId>
 | 
			
		||||
	<version>1.3</version>
 | 
			
		||||
	<version>1.3.1</version>
 | 
			
		||||
	<name>TeleportRandom</name>
 | 
			
		||||
	<build>
 | 
			
		||||
		<finalName>${project.name}</finalName>
 | 
			
		||||
@@ -59,7 +59,8 @@
 | 
			
		||||
	<properties>
 | 
			
		||||
		<update.description>&a代码重构版本</update.description>
 | 
			
		||||
		<update.changes>
 | 
			
		||||
			&b1.3 - &c修复传送世界限制(区分大小写);
 | 
			
		||||
			&b1.3.1 - &c修复上个版本一个逻辑错误...;
 | 
			
		||||
			&b1.3   - &c修复传送世界限制(区分大小写)...;
 | 
			
		||||
		</update.changes>
 | 
			
		||||
		<env.GIT_COMMIT>DEBUG</env.GIT_COMMIT>
 | 
			
		||||
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 | 
			
		||||
 
 | 
			
		||||
@@ -45,7 +45,7 @@ public class TeleportRandom extends JavaPlugin implements CommandExecutor {
 | 
			
		||||
                    randomTP(Integer.parseInt(args[0]), Bukkit.getWorld(args[1]), p);
 | 
			
		||||
                    break;
 | 
			
		||||
                }
 | 
			
		||||
            } catch (final Exception e) {
 | 
			
		||||
            } catch (final IllegalArgumentException e) {
 | 
			
		||||
                sender.sendMessage(getPrefix() + "§c非法的参数或不存在的世界!");
 | 
			
		||||
            }
 | 
			
		||||
            return true;
 | 
			
		||||
@@ -85,7 +85,7 @@ public class TeleportRandom extends JavaPlugin implements CommandExecutor {
 | 
			
		||||
                p.sendMessage(String.format(getPrefix() + config.getMessage("Message.Wran"), lrLimit));
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        final Point point = new Point(limit, world);
 | 
			
		||||
        final Point point = new Point(lr, world);
 | 
			
		||||
        checkBlock(point, p);
 | 
			
		||||
        point.tp(p);
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user