3
0
Commit Graph

159 Commits

Author SHA1 Message Date
7bbc071d49 修复的可能造成负数物品的一些问题代码 2017-07-17 07:20:24 +08:00
dfb695724b 修复书与笔签名时任可以刷NBT的bug 2017-07-15 22:12:10 +08:00
15861edb0d 增加null检查 2017-07-13 22:47:42 +08:00
4954c37706 取消报错,直接返回 2017-07-13 22:47:05 +08:00
b98b47864d 调整getEntity以及类似函数获取不到死亡的实体 2017-07-07 02:12:24 +08:00
9dc4f12762 修复方块不更新的bug 2017-07-04 22:30:53 +08:00
4600900a0f 清理捕获记录,防止在捕获期间发生异常造成捕获未关闭,导致一直在进行捕获的问题 2017-07-04 16:45:20 +08:00
34b83733e5 Merge branch 'kcx-1614' of https://git.xjboss.net/KC-RELOADED/KCauldronX 2017-07-04 15:29:14 +08:00
f1db52bb04 增加对mod消息与物品左右键的方块放置监听 2017-07-04 14:30:21 +08:00
bfe43ae465 模块化方块捕获还原动作 2017-07-04 14:29:35 +08:00
ad3dd74bd8 Add fake player do login 2017-07-02 19:55:18 +08:00
0e0f8a1dc2 Fix fake player problem with some plugins. 2017-07-02 16:53:57 +08:00
62ebe6c4e9 在放置事件取消时,对添加到玩家背包的物品进行还原 2017-06-30 16:37:49 +08:00
1811737e6a 修复方块事件中部分参数错误的问题 2017-06-30 14:14:20 +08:00
043313ffb8 add method 2017-06-30 14:12:33 +08:00
2347608151 增加对OptionalForce的检查来确定是否跳过实体tick 2017-06-29 00:50:34 +08:00
9b4631ba9f Apply spigot ping patch 2017-06-28 21:13:29 +08:00
5d619b8f7e Revert "增加对OptionalForce的检查来确定是否跳过实体tick"
This reverts commit 1f7f67c56d.
2017-06-28 20:19:55 +08:00
1f7f67c56d 增加对OptionalForce的检查来确定是否跳过实体tick 2017-06-28 09:03:10 +08:00
64a7507a12 增加高版本API方法 2017-06-28 08:27:25 +08:00
05b874f281 增加对entity tick的拦截与判定 2017-06-28 08:26:41 +08:00
467c637ca6 补丁自动格式化 2017-06-27 14:32:54 +08:00
20c5060e12 移动null判断位置 2017-06-27 14:30:01 +08:00
cdd20299e5 增加KC材料输出开关判断 2017-06-27 14:28:50 +08:00
256f099706 修复代码错误 2017-06-27 14:26:59 +08:00
b82ed7a227 update timings post url 2017-06-25 20:09:05 +08:00
4ad3dfff03 config file forge utf-8 2017-06-25 19:16:18 +08:00
6556b08a43 fix getById can not get mod's potion 2017-06-25 19:11:11 +08:00
a9e1137c30 fix block snapshot restore bug,add entity restore 2017-06-25 19:10:06 +08:00
597d028218 remove repeat code,add Entity snapshot code 2017-06-25 19:09:23 +08:00
93dbb7cca5 the key of UserList use a lower case playername 2017-06-25 19:08:37 +08:00
a80d0e32f8 fix the item 'Books and pens' update bug 2017-06-25 19:07:31 +08:00
baa004ce49 ignore already track error 2017-06-25 19:06:45 +08:00
Sergey Shatunov
8d2ba00f70 Cap chunk generation to 1 chunk per tick (configurable) 2016-03-16 12:01:28 +07:00
Sergey Shatunov
7eba5f9dee Fix crash with indirect damage when indirect entity == null, for example
thrower is not entity.

Fix #361
2016-02-11 12:45:35 +07:00
Sergey Shatunov
5aaf6c5cbf ChunkManager implementation
ChunkManager optimize chunks handling in small and big worlds

Small worlds gets benefits with using int-object map instead long-object (in area -32768...32767 by x and z)

Large worlds gets benefits by using efficient map by Colt project, which a little (3-6%) slower in writing, but greatly faster
(400-500% from Java's HashMap and 150-180% from Trove's maps) on reading.
2016-02-10 19:17:47 +07:00
Sergey Shatunov
0dd6c7efdf Jline's ConsoleReader reads empty string instead of null in stdin-less
environment, like exec() from many languages. Add empty check.
2016-02-09 21:19:36 +07:00
Sergey Shatunov
3b244893d9 Fix #346 2016-02-07 14:50:00 +07:00
Sergey Shatunov
962807f835 Fix #343 2016-02-07 14:40:26 +07:00
Sergey Shatunov
d09dc71f62 Fix #106 2016-02-06 19:12:12 +07:00
Sergey Shatunov
84276822ea Fix inventory wiping on keepInventory=true 2016-02-06 15:19:45 +07:00
Sergey Shatunov
0b251c5440 Implement ReverseClonner, which should fix all issues with teleportation/inventories/crashed after respawning 2016-02-06 04:30:12 +07:00
Sergey Shatunov
313adcfbb0 Fix PlayerCloneEvent.wasDeath (close #335) 2016-02-06 00:09:26 +07:00
Sergey Shatunov
30d7378fda Okay, remove full cloning of player during respawn and just post forge's
event for required mods. Close #331
2016-02-05 03:43:24 +07:00
Sergey Shatunov
7b03a5c0d1 Add out-of-box fast leaves decay 2016-02-04 22:55:51 +07:00
Sergey Shatunov
d98e2ca8f6 Fix ender inventory not synced after cloning, fix #329 2016-02-04 18:21:25 +07:00
Sergey Shatunov
3b321e3116 Implement custom bukkit's entity for modded projectiles
Fix #150
2016-02-03 22:45:12 +07:00
Sergey Shatunov
7114a28fc6 Implement thread-safe, async-like and not buggy BlockUpdatesTracker
close #320
2016-02-03 10:55:26 +07:00
Sergey Shatunov
3359c026df Add plugins info in crash report 2016-02-03 10:55:26 +07:00
Sergey Shatunov
01238b890a Better handling of out of sync 2016-02-02 15:39:23 +07:00