feat: 暂时取消部分线程安全检测

Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
502647092 2016-08-04 19:54:45 +08:00
parent 5491119c73
commit 60c08f0aca
2 changed files with 98 additions and 101 deletions

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>pw.yumc</groupId> <groupId>pw.yumc</groupId>
<artifactId>Yum</artifactId> <artifactId>Yum</artifactId>
<version>2.7.5</version> <version>2.7.6</version>
<name>Yum</name> <name>Yum</name>
<description>Minecraft 服务器插件管理系统</description> <description>Minecraft 服务器插件管理系统</description>
<build> <build>
@ -66,10 +66,9 @@
<update.description>§a全新 2.X 版本 更多守护与优化</update.description> <update.description>§a全新 2.X 版本 更多守护与优化</update.description>
<update.changes> <update.changes>
§c注意 §6- §aYum更新需要§d重启服务器!§c重启服务器!§4重启服务器!; §c注意 §6- §aYum更新需要§d重启服务器!§c重启服务器!§4重启服务器!;
§b2.7.6 §6- §c暂时取消部分线程安全检测§4(不稳定)...;
§b2.7.5 §6- §c修复§eBukkitDev§e下载为空时的异常...; §b2.7.5 §6- §c修复§eBukkitDev§e下载为空时的异常...;
§b2.7.4 §6- §e异步记录服务器报错与耗时操作 §a性能优化...; §b2.7.4 §6- §e异步记录服务器报错与耗时操作 §a性能优化...;
§b2.7.3 §6- §a调整lag判断条件 减少高峰期误报...;
§b2.7.2 §6- §c修复mi lag命令参数错误报错 §d百分比显示能耗...;
</update.changes> </update.changes>
<env.GIT_COMMIT>DEBUG</env.GIT_COMMIT> <env.GIT_COMMIT>DEBUG</env.GIT_COMMIT>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

View File

@ -46,7 +46,6 @@ public class ThreadSafetyListener implements Listener {
checkSafety(creatureSpawnEvent); checkSafety(creatureSpawnEvent);
} }
@EventHandler
public void onInventoryOpen(final InventoryOpenEvent inventoryOpenEvent) { public void onInventoryOpen(final InventoryOpenEvent inventoryOpenEvent) {
checkSafety(inventoryOpenEvent); checkSafety(inventoryOpenEvent);
} }
@ -76,7 +75,6 @@ public class ThreadSafetyListener implements Listener {
checkSafety(worldLoadEvent); checkSafety(worldLoadEvent);
} }
@EventHandler
public void onWorldSave(final WorldSaveEvent worldSaveEvent) { public void onWorldSave(final WorldSaveEvent worldSaveEvent) {
checkSafety(worldSaveEvent); checkSafety(worldSaveEvent);
} }