1
0
mirror of https://e.coding.net/circlecloud/QuickShop.git synced 2024-12-26 07:38:49 +00:00
Commit Graph

189 Commits

Author SHA1 Message Date
686dc054de update pom.xml 2018-02-05 00:30:18 +08:00
coding
72d3e24b8a fix: 修复低版本兼容问题 2018-02-03 07:11:05 +00:00
0948887e4b Accept Merge Request #10 : 修复java.lang.NoSuchMethod的问题
From -> To: (  17jiong : master   ->   502647092 : master  )

Merge Request: 修复java.lang.NoSuchMethod的问题

Created By: @17jiong
Accepted By: @502647092
URL:https://coding.net/u/502647092/p/QuickShop/git/pull/10
2018-02-03 10:16:27 +08:00
17jiong
82c2591c9b 修复老版本的服务端没有getStorageContents方法导致报错的问题 2018-02-02 21:38:55 +08:00
a11686a839 fix: 修复部分包未导入 2018-02-01 14:26:48 +08:00
de3fa516e1 feat: 更新版本 2018-02-01 11:00:21 +08:00
17jiong
2b82a8430d 修复满背包依然可以购买的Bug
玩家背包getContent获取的内容包括了防具栏等
也就是说,即便背包是满的,只要没穿防具就依然可以购买物品
但是因为没有储存空间,导致花了钱,也无法获得该物品
2018-01-31 18:49:19 +08:00
17jiong
4a18053026 修复不必要的获取离线玩家导致创建大量getProfile线程导致服务端崩溃的问题
[16:32:33] [Paper Watchdog Thread/ERROR]: Current Thread: Craft Scheduler Thread - 14395
[16:32:33] [Paper Watchdog Thread/ERROR]: 	PID: 18215 | Suspended: false | Native: false | State: BLOCKED
[16:32:33] [Paper Watchdog Thread/ERROR]: 	Stack:
[16:32:33] [Paper Watchdog Thread/ERROR]: 		net.minecraft.server.v1_12_R1.UserCache.getProfile(UserCache.java:142)
[16:32:33] [Paper Watchdog Thread/ERROR]: 		org.bukkit.craftbukkit.v1_12_R1.CraftServer.getOfflinePlayer(CraftServer.java:1352)
[16:32:33] [Paper Watchdog Thread/ERROR]: 		org.bukkit.Bukkit.getOfflinePlayer(Bukkit.java:730)
[16:32:33] [Paper Watchdog Thread/ERROR]: 		org.maxgamer.QuickShop.Util.MsgUtil.lambda$3(MsgUtil.java:170)
[16:32:33] [Paper Watchdog Thread/ERROR]: 		org.maxgamer.QuickShop.Util.MsgUtil$$Lambda$448/1914437489.run(Unknown Source)
[16:32:33] [Paper Watchdog Thread/ERROR]: 		org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:58)
[16:32:33] [Paper Watchdog Thread/ERROR]: 		org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52)
[16:32:33] [Paper Watchdog Thread/ERROR]: 		com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[16:32:33] [Paper Watchdog Thread/ERROR]: 		java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[16:32:33] [Paper Watchdog Thread/ERROR]: 		java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[16:32:33] [Paper Watchdog Thread/ERROR]: 		java.lang.Thread.run(Thread.java:748)
[16:32:33] [Paper Watchdog Thread/ERROR]: ------------------------------
2018-01-31 18:43:23 +08:00
17jiong
d768f93c6c 修正手误 2018-01-29 04:26:39 +08:00
17jiong
ccedc8cfea 连接池线程安全修正 2018-01-29 04:24:47 +08:00
17jiong
7a74e88cd1 让修改价格等行为异步操作数据库 2018-01-29 02:58:21 +08:00
17jiong
4b41bdff57 异步调用数据库删除方法(BlockBreakEvent触发) 2018-01-29 01:15:51 +08:00
17jiong
4f3ee83b47 异步保存商店到数据库
由于handleChat已切回主线程,这里需要异步调用
2018-01-29 01:06:12 +08:00
17jiong
1a624a8384 修复收购商店不触发ShopPurchaseEvent的问题,并且调整触发的时机,避免没钱购买也触发这个事件 2018-01-29 00:31:59 +08:00
17jiong
1b519fe90f 修复一些奇怪的问题
1. 先取消时间,避免后续抛异常导致事件未被取消
2. AsyncPlayerChatEvent是异步的,在这个事件中的所有操作也是异步执行的,如果不切回同步线程,会导致抛“Entity async add”异常;并且在设置牌子的方法(setSignText)内,会有异步加载区块的风险,导致不可预知的后果
2018-01-29 00:20:04 +08:00
17jiong
c193f2bc95 update PlayerListener.java 2018-01-29 00:12:47 +08:00
17jiong
5dd8dd78af 修复一处线程安全问题 2018-01-29 00:10:08 +08:00
17jiong
e42701f376 修复匹配两个物品是否相同的问题
1. 增加判断Lore信息是否相同
2. 增加判断头颅的Owner是否相同
3. 增加判断成书的标题、内容、作者是否相同
2018-01-29 00:05:03 +08:00
17jiong
55cd9e386c 删除不必要的监听器 2018-01-28 23:24:01 +08:00
ea61beb719 fix: 修复 1.12 不兼容的问题
Signed-off-by: 502647092 <admin@yumc.pw>
2017-07-29 01:18:27 +08:00
bd2c2aedf9 chore: 更新版本
Signed-off-by: 502647092 <admin@yumc.pw>
2017-06-17 17:48:08 +08:00
664e5c7734 feat: 移除过期无效监听类型
Signed-off-by: 502647092 <admin@yumc.pw>
2017-06-17 17:46:35 +08:00
979efda24b fix: 数据统计丢失的问题
Signed-off-by: 502647092 <admin@yumc.pw>
2017-05-21 21:34:29 +08:00
5cb710c00f feat: 清理无效代码
Signed-off-by: 502647092 <admin@yumc.pw>
2017-05-16 20:37:24 +08:00
20dd524044 fix: 修复悬浮物初始化错误
Signed-off-by: 502647092 <admin@yumc.pw>
2017-05-15 10:08:22 +08:00
8916dc0d53 feat: 优化代码
Signed-off-by: 502647092 <admin@yumc.pw>
2017-05-15 00:29:54 +08:00
833fe1ac43 feat: 去除调试 优化检测线程
Signed-off-by: 502647092 <admin@yumc.pw>
2017-05-10 00:04:53 +08:00
b3995f3b2f fix: 修复悬浮物初始化错误
Signed-off-by: 502647092 <admin@yumc.pw>
2017-05-09 21:02:55 +08:00
dec12d75cb fix: 修复虚拟悬浮物 优化初始化流程
Signed-off-by: 502647092 <admin@yumc.pw>
2017-05-08 21:17:45 +08:00
ec2498fc48 feat: 调整虚拟悬浮物
Signed-off-by: 502647092 <admin@yumc.pw>
2017-03-17 17:40:09 +08:00
36dd2ac988 fix: 虚拟悬浮物兼容
Signed-off-by: 502647092 <admin@yumc.pw>
2017-03-13 01:05:46 +08:00
b90049aad7 fix: 修复悬浮物和刷物品的问题
Signed-off-by: 502647092 <admin@yumc.pw>
2017-01-25 13:05:10 +08:00
3c5e4c2cf6 feat: 添加特殊端的错误提示
Signed-off-by: 502647092 <admin@yumc.pw>
2016-12-16 16:39:56 +08:00
49c0b8ecd7 feat: 更新类库 代码优化 添加世界限制
Signed-off-by: 502647092 <admin@yumc.pw>
2016-12-13 19:07:37 +08:00
b110da8f73 fix: 修复爆炸破坏木牌的问题
Signed-off-by: 502647092 <admin@yumc.pw>
2016-11-11 17:44:50 +08:00
16571a6035 feat: 添加阻止世界创建商店 重构命令
Signed-off-by: 502647092 <admin@yumc.pw>
2016-11-11 16:10:00 +08:00
00f6466061 feat: 使用新语言库
Signed-off-by: 502647092 <admin@yumc.pw>
2016-09-27 22:07:06 +08:00
fce1e797b9 feat: 调整名称获取方式
Signed-off-by: 502647092 <admin@yumc.pw>
2016-09-16 16:59:33 +08:00
219bbb5539 feat: 完善1.10的虚拟悬浮物
Signed-off-by: 502647092 <admin@yumc.pw>
2016-09-16 16:35:38 +08:00
9c12bb5f91 fix: 修复悬浮物初始化错误
Signed-off-by: 502647092 <admin@yumc.pw>
2016-09-14 02:15:58 +08:00
0c9a014c13 feat: 使用新类库处理命令 添加1.9+虚拟悬浮物
Signed-off-by: 502647092 <admin@yumc.pw>
2016-09-14 02:05:58 +08:00
db7e6c0f4c feat: 添加项目文件
Signed-off-by: 502647092 <admin@yumc.pw>
2016-08-09 12:09:12 +08:00
923abada16 feat: 移动类库路径
Signed-off-by: 502647092 <admin@yumc.pw>
2016-07-28 19:50:30 +08:00
2131ee1746 feat: 更新类库导入
Signed-off-by: 502647092 <admin@yumc.pw>
2016-07-23 14:37:48 +08:00
9fce7de6b4 feat: 木牌第一行显示配置文件的guititle内容
Signed-off-by: 502647092 <admin@yumc.pw>
2016-07-21 15:33:37 +08:00
b10c601ce7 feat: 修复一个在删除商店时导致的报错
Signed-off-by: 502647092 <admin@yumc.pw>
2016-07-16 11:43:18 +08:00
665d6d77d1 fix: 修复同一个玩家的商店直接漏洞不能传递的问题
Signed-off-by: 502647092 <admin@yumc.pw>
2016-06-10 12:56:38 +08:00
9a5b3cb09f fix: 修复方块更新在1.9的报错
Signed-off-by: 502647092 <admin@yumc.pw>
2016-06-06 20:39:14 +08:00
bbea4b57f8 fix: 修复1.9不能异步操作方块的问题
Signed-off-by: 502647092 <admin@yumc.pw>
2016-06-06 20:32:33 +08:00
502647092
e3223aa25f fix: 调整异常抛出 2016-05-11 22:46:51 +08:00