e0574008b4
AsyncPool: Move removeTasks() functionality inside shutdown()
...
there's no need for a loop if we just have the workers shutdown directly, because they'll block until all tasks are done anyway.
2018-09-12 18:08:42 +01:00
653fa1213e
Added an event for handling duplicate logins ( #2430 )
2018-09-12 11:23:48 +01:00
535d4e2c9b
Added NetworkSession->getPlayer()
2018-09-12 10:51:37 +01:00
ebc1524f9a
Merge remote-tracking branch 'origin/release/3.3'
2018-09-12 10:39:49 +01:00
09dea035d4
Level: Batch light updates at the end of the tick to amortize CPU cost ( #2429 )
...
this produces a 5x performance improvement for lighting updates during water flow, and 25% improvement for lava flow.
2018-09-12 10:33:28 +01:00
a9fc67663c
Strip anti flight out of the core ( #2428 )
...
This may later be developed into a plugin if it is a desired feature, but having it in the core is unnecessary and a pain in the ass.
2018-09-12 10:06:57 +01:00
dd2861dd1a
Merge branch 'release/3.3'
2018-09-11 19:49:51 +01:00
519659fd2b
Merge branch 'release/3.2' into release/3.3
2018-09-11 19:48:23 +01:00
6c70e84fa2
Merge branch 'release/3.1' into release/3.2
2018-09-11 19:47:46 +01:00
7d0e631a75
RakLibInterface: fixed processing hook being registered too early
...
this would cause bugs if the interface was not added directly to the network.
2018-09-11 19:47:26 +01:00
e50ba18bbd
Merge branch 'release/3.3'
2018-09-11 12:28:18 +01:00
5134c0cf5a
Merge branch 'release/3.2' into release/3.3
2018-09-11 12:28:09 +01:00
65b751d080
3.2.4 is next
2018-09-11 12:27:45 +01:00
27effff403
Release 3.2.3
3.2.3
2018-09-11 12:19:56 +01:00
a940cc5b5e
Merge branch 'release/3.1' into release/3.2
2018-09-11 12:19:32 +01:00
15e654131c
3.1.8 is next
2018-09-11 12:18:54 +01:00
6e6cda91ce
Release 3.1.7
3.1.7
2018-09-11 11:45:17 +01:00
b3902ed76f
Merge branch 'release/3.3'
2018-09-11 11:40:54 +01:00
0aa63d269a
Merge branch 'release/3.2' into release/3.3
2018-09-11 11:35:46 +01:00
53a76c0d14
Merge branch 'release/3.1' into release/3.2
2018-09-11 11:35:38 +01:00
69500fe183
LightUpdate: Remove garbage left over from dab73d8950
2018-09-11 11:35:31 +01:00
191f0038b8
LightUpdate: Allow a single position to be set more than once before executing
...
This is needed for batched lighting updates to work. It also reduces the overhead involved with simply preparing a lighting update and moves the pain to the execute() instead.
2018-09-11 11:33:57 +01:00
99d6aa92cb
Implemented rail connectivity ( #2414 )
2018-09-10 19:32:11 +01:00
f03ab76c83
Remove imports left over from 5ce2d5e072
2018-09-10 17:51:13 +01:00
37190c9a65
Apply typehints to all AsyncTask methods
...
Since we're breaking API here anyway, no point in holding back on this.
2018-09-10 15:54:01 +01:00
d62e00cc74
AsyncPool: Remove Server dependency (API breaks included)
...
This brings two plugin-breaking changes: AsyncTask->onCompletion() and AsyncTask->onProgressUpdate() no longer accept Server parameters.
This now allows for the functionality of AsyncPool and AsyncTask to be tested outside of a Server.
2018-09-10 15:48:59 +01:00
5ce2d5e072
Clean up to Generator creation, remove getSeed() from ChunkManager interface
...
it's the generator's responsibility to know about the seed, not the chunkmanager's. This now reduces the complexity of implementing and using a chunkmanager.
2018-09-10 13:28:15 +01:00
0d152a2139
Merge branch 'release/3.3'
2018-09-08 14:30:16 +01:00
90d01f5ed2
Merge branch 'release/3.2' into release/3.3
2018-09-08 14:25:20 +01:00
5af4dd20df
Merge branch 'release/3.1' into release/3.2
2018-09-08 14:25:11 +01:00
c7d58db7eb
Cleanup Entity age handling, fixed arrows despawning too quickly after long flight
2018-09-08 14:23:06 +01:00
a3b78236eb
Server: don't catch Throwable for level ticking
...
this usually causes the console to get spammed with errors. Additionally, in the case where doTick() throws any exception, it's usually because we're in a state we didn't want to be in, so we really should not carry on trying to keep ticking when something breaks here. Instead, this should generate a crashdump.
2018-09-08 14:13:28 +01:00
3bd224ae1a
Merge branch 'release/3.3'
2018-09-06 19:31:11 +01:00
b70905b287
Merge branch 'release/3.2' into release/3.3
2018-09-06 19:31:05 +01:00
d8e27e6081
Bow: fix wrong arithmetic for Flame fire ticks, closes #2420
2018-09-06 19:30:55 +01:00
bd091eb744
Merge branch 'release/3.3'
2018-09-06 19:15:53 +01:00
7a48c0b23d
Merge branch 'release/3.2' into release/3.3
2018-09-06 19:15:41 +01:00
14a2ffa51b
Merge branch 'release/3.1' into release/3.2
2018-09-06 18:43:28 +01:00
c447d51e3f
Bucket: use ItemFactory instead of self-clone
...
in the future Item->setDamage() will be removed.
2018-09-06 18:42:09 +01:00
f218868338
Separate facing/bearing handling from Vector3, deobfusticate a ton of @shoghicp old code
2018-09-05 19:56:14 +01:00
99fb267333
Merge branch 'release/3.3'
2018-09-04 15:58:24 +01:00
557fd34754
Make MainLogger independent of runtime-defined INI entries
...
Previously every thread using the logger had to inherit runtime-defined INI entries in order for the timezone to be set correctly. This removes that requirement.
2018-09-04 15:57:45 +01:00
034472bfe7
Merge branch 'release/3.3'
2018-09-04 11:58:19 +01:00
32077d96b4
Merge branch 'release/3.2' into release/3.3
2018-09-04 11:56:58 +01:00
9f4722f537
3.2.3 is next
2018-09-04 11:56:27 +01:00
cb04f287eb
Release 3.2.2
3.2.2
2018-09-04 11:51:28 +01:00
f649ef5195
Sync 3.2 and 3.1 branches
2018-09-04 11:51:05 +01:00
b615cad22d
3.1.7 is next
2018-09-04 11:50:05 +01:00
b93e219231
Release 3.1.6
3.1.6
2018-09-04 11:44:05 +01:00
a4a9309193
Updated NBT dependency for bug fix
2018-09-04 11:43:38 +01:00