1
0
mirror of https://e.coding.net/circlecloud/Residence.git synced 2024-10-31 22:38:48 +00:00

fix some bug and update to 2.7.0.1...

This commit is contained in:
j502647092 2015-05-27 19:17:48 +08:00
parent 984b8608a0
commit b1cf3b7ccd
6 changed files with 973 additions and 967 deletions

View File

@ -1,7 +1,12 @@
#Residence-Fix #Residence-Fix
==注意: 只兼容1.8以上版本==
领地插件无UUID版本 领地插件无UUID版本
配置文件全部UTF-8编码处理 配置文件全部UTF-8编码处理
修复漏洞到最新版本 修复漏洞到最新版本
去除自动更新 去除自动更新
#Residence - Self serve area protection system #Residence - Self serve area protection system

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>cn.CityCraft</groupId> <groupId>cn.CityCraft</groupId>
<artifactId>Residence</artifactId> <artifactId>Residence</artifactId>
<version>2.7.0.0-SNAPSHOT</version> <version>2.7.0.1-SNAPSHOT</version>
<name>Residence</name> <name>Residence</name>
<build> <build>
<sourceDirectory>src</sourceDirectory> <sourceDirectory>src</sourceDirectory>

View File

@ -111,17 +111,17 @@ public class PermissionManager {
perms = vault; perms = vault;
Logger.getLogger("Minecraft").log( Logger.getLogger("Minecraft").log(
Level.INFO, Level.INFO,
"[Residence] Found Vault using permissions plugin:" "[Residence] 发现 Vault 使用权限系统:"
+ vault.getPermissionsName()); + vault.getPermissionsName());
return; return;
} else { } else {
Logger.getLogger("Minecraft") Logger.getLogger("Minecraft")
.log(Level.INFO, .log(Level.INFO,
"[Residence] Found Vault, but Vault reported no usable permissions system..."); "[Residence] 发现 Vault, 但是 Vault 未找到权限系统...");
} }
} }
Logger.getLogger("Minecraft").log(Level.INFO, Logger.getLogger("Minecraft").log(Level.INFO,
"[Residence] Permissions plugin NOT FOUND!"); "[Residence] 权限系统未找到!");
} }
private void readConfig(FileConfiguration config) { private void readConfig(FileConfiguration config) {
@ -149,8 +149,8 @@ public class PermissionManager {
} }
} catch (Exception ex) { } catch (Exception ex) {
System.out System.out
.println("[Residence] Error parsing group from config:" .println("[Residence] 错误 从配置文件读取:"
+ key + " Exception:" + ex); + key + " 抛出异常:" + ex);
} }
} }
} }

View File

@ -187,6 +187,7 @@ public class FlagPermissions {
addMaterialToUseFlag(Material.DIODE_BLOCK_ON, "diode"); addMaterialToUseFlag(Material.DIODE_BLOCK_ON, "diode");
addMaterialToUseFlag(Material.WORKBENCH, "table"); addMaterialToUseFlag(Material.WORKBENCH, "table");
addMaterialToUseFlag(Material.WOODEN_DOOR, "door"); addMaterialToUseFlag(Material.WOODEN_DOOR, "door");
/* 1.8 Doors */ /* 1.8 Doors */
addMaterialToUseFlag(Material.SPRUCE_DOOR, "door"); addMaterialToUseFlag(Material.SPRUCE_DOOR, "door");
addMaterialToUseFlag(Material.BIRCH_DOOR, "door"); addMaterialToUseFlag(Material.BIRCH_DOOR, "door");

View File

@ -1,6 +1,6 @@
name: Residence name: Residence
main: com.bekvon.bukkit.residence.ResidenceCommandListener main: com.bekvon.bukkit.residence.ResidenceCommandListener
version: 2.7.0.0 version: 2.7.0.1
website: http://www.spigotmc.org/resources/residence-reloaded-1-8.2697/ website: http://www.spigotmc.org/resources/residence-reloaded-1-8.2697/
description: Cuboid Residence Plugin description: Cuboid Residence Plugin
authors: [bekvon,nate302,t00thpick1,喵♂呜] authors: [bekvon,nate302,t00thpick1,喵♂呜]