1
0
mirror of https://e.coding.net/circlecloud/Residence.git synced 2025-11-24 21:46:16 +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

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

View File

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