Commit Graph

150 Commits

Author SHA1 Message Date
Ghost_chu
f4887873e1 fix ci again 2019-03-28 22:03:30 +08:00
Ghost_chu
7755f7404f Improve #77ffdd0 commit code. 2019-03-28 21:59:50 +08:00
Ghost_chu
77ffdd0475 Fix java.lang.IllegalArgumentException crash issue.
This bug will cause server crash, and these lines will shown in crash-report.

```
Description: Exception in server tick loop

java.lang.ExceptionInInitializerError
	at net.minecraft.server.v1_13_R2.PlayerList.sendAll(PlayerList.java:1099)
	at net.minecraft.server.v1_13_R2.World$2.a(World.java:226)
	at net.minecraft.server.v1_13_R2.WorldBorder.setCenter(WorldBorder.java:94)
	at net.minecraft.server.v1_13_R2.WorldServer.i_(WorldServer.java:112)
	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:367)
	at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.java:316)
	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:789)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalArgumentException
	at java.util.concurrent.ThreadPoolExecutor.<init>(ThreadPoolExecutor.java:1314)
	at java.util.concurrent.ThreadPoolExecutor.<init>(ThreadPoolExecutor.java:1237)
	at java.util.concurrent.Executors.newFixedThreadPool(Executors.java:151)
	at io.akarin.server.core.AkarinAsyncExecutor.<clinit>(AkarinAsyncExecutor.java:12)
	... 8 more

```
2019-03-28 21:35:47 +08:00
Ghost_chu
94ba1bb082 Add chmod in CI script 2019-03-28 21:05:26 +08:00
Ghost_chu
461a379758 fix travis-ci 2019-03-28 20:53:11 +08:00
Sotr
e02706acb7 Oops 2019-03-28 16:13:12 +08:00
Sotr
7f5a66a3ba Revert offline skin w/ user cache fix 2019-03-28 16:11:59 +08:00
Sotr
ae97996ace Dynamic thread count 2019-03-28 15:46:20 +08:00
Sotr
f9eb7d8a60 Support offline skins 2019-03-28 15:28:40 +08:00
Sotr
61b00d4ee8 Async saving players data 2019-03-28 15:14:30 +08:00
Sotr
5a4bc4b4ba Avoid double I/O operation on load player file 2019-03-28 14:22:49 +08:00
Sotr
69b28780a5 Fix thread priority 2019-03-28 13:56:49 +08:00
Sotr
ce6270f9c8 Move player list tick to off-main thread w/ thread sleep time fix 2019-03-28 13:52:57 +08:00
Sotr
706b3f2116 Send mass packets async 2019-03-27 19:37:09 +08:00
Sotr
eb8cb02ae3 Remove more async catcher callers 2019-03-27 17:27:14 +08:00
Sotr
558f284053 Upstream Paper 2019-03-27 15:19:31 +08:00
Sotr
e76c7699ff Upstream Paper 2019-03-27 15:17:33 +08:00
Sotr
5e34def8c6 Caffeine! 2019-03-27 14:44:33 +08:00
Sotr
03c9b6d83f Dev imports 2019-03-27 13:46:04 +08:00
Sotr
bdbe6f78b7 Corrects map 2019-03-27 13:42:09 +08:00
Sotr
998c00ca84 Avoid synchronize for twice 2019-03-27 13:32:45 +08:00
Sotr
8bf5dceb78 Oops 2019-03-27 13:29:23 +08:00
Sotr
09312d1d29 Remove unnecessary synchronization 2019-03-27 13:26:42 +08:00
Sotr
214a8ac4e9 Reduce blocking in ServerConnection 2019-03-27 13:24:58 +08:00
Sotr
7c9fa46996 Merge branch 'master' of github.com:Akarin-project/Akarin 2019-03-27 12:50:29 +08:00
Sotr
f566eab207 Hotfix - sleep time typo 2019-03-27 12:43:16 +08:00
Cushaw_BlueMelon
e460864b71 Update README.md 2019-03-27 00:01:12 +08:00
Sotr
1d92b85e76 Hack IntHashMap to koloboke implemention 2019-03-26 21:13:16 +08:00
Sotr
ecdda0e0c1 Fixes typo 2019-03-26 20:56:27 +08:00
Sotr
ea49f07cc4 Move async task to our executor 2019-03-26 20:41:34 +08:00
Sotr
b9c1d68ccb Fixup PSPE 2019-03-26 20:26:15 +08:00
Sotr
ad23b84309 Remove UNUSED class 2019-03-26 17:16:17 +08:00
Sotr
621ab87fb9 Merge branch 'master' of github.com:Akarin-project/Akarin 2019-03-26 17:12:32 +08:00
Sotr
19a9e9ebb3 Async lighting updates 2019-03-26 17:03:26 +08:00
Sotr
8c841e73fd Places more unsafe timings 2019-03-26 15:50:48 +08:00
Sotr
fb511e9282 Fixup NPE 2019-03-26 00:26:13 +08:00
Sotr
e686eead26 Cleanup 2019-03-26 00:19:07 +08:00
Sotr
9a9b4c4672 Fixes compatibility with ProtocolSupport 2019-03-26 00:01:44 +08:00
Sotr
95b3a459db Upstream Paper 2019-03-25 18:16:28 +08:00
Sotr
312043ac02 Upstream Paper 2019-03-25 17:59:41 +08:00
Sotr
49fc7dead4 Optimize game rules 2019-03-25 17:54:25 +08:00
Sotr
45ef83a3a2 Remove volatile from HandlerList to improve event performance 2019-03-25 16:51:55 +08:00
Sotr
de28a2ab0b [ci skip] Add one more ci w/ test 2019-03-25 01:27:25 +08:00
Sotr
4d2bd1c10c Hotfix - entity add 2019-03-24 23:13:14 +08:00
Sotr
41b8f59b4c [ci skip] Remove IWorldAccess list 2019-03-24 23:09:25 +08:00
Sotr
0907ab86fc Merge branch 'master' of github.com:Akarin-project/Paper 2019-03-24 18:18:54 +08:00
Sotr
8c772dd85f Upstream Paper 2019-03-24 18:17:28 +08:00
Sotr
0c7b8a1008 Do not send break animation to himself 2019-03-24 05:08:58 +08:00
Sotr
71b180df27 Hotfix - initalise hidden players w/ refactor user cache system 2019-03-24 05:00:53 +08:00
Sotr
bfee6f32c1 Copy on write hidden players 2019-03-23 21:15:57 +08:00