Dylan K. Taylor
0ae9b41062
Merge branch 'release/3.2'
2018-08-14 15:03:37 +01:00
Dylan K. Taylor
d98a6e566c
Merge branch 'release/3.1' into release/3.2
2018-08-14 15:03:30 +01:00
Dylan K. Taylor
142a6d7678
Merge branch 'release/3.0' into release/3.1
2018-08-14 15:03:22 +01:00
Dylan K. Taylor
b2ca364de0
SplashPotion: Don't apply effects to entities which are not alive
...
fixes #2372
2018-08-14 15:03:15 +01:00
Dylan K. Taylor
ce58294305
ProcessLoginTask: check connected status instead of closed status
...
connected is what we're looking for here, as opposed to an entity being marked as garbage.
2018-08-14 14:39:01 +01:00
Dylan K. Taylor
0273e2484e
Kill entity runtime NBT ( #2361 )
2018-08-14 13:33:02 +01:00
Dylan K. Taylor
4b7300de8d
Use openssl_digest() instead of hash() in network hot code
...
openssl_digest() is TWICE as fast as hash() on my machine for the same data and same algorithm. I can only guess that OpenSSL is more optimized than PHP ext/standard :)
2018-08-13 19:56:20 +01:00
Dylan K. Taylor
59a51a6c75
ArmorInventory: use broadcast for sending armour updates
2018-08-13 16:12:25 +01:00
Dylan K. Taylor
f2fd505bae
ArmorInventory: fixed missed usages of dataPacket()
...
these were missed because PhpStorm couldn't infer the variable types in foreach, and there were no type docs to help it out.
2018-08-13 15:57:59 +01:00
Dylan K. Taylor
78671bafe3
Remove unnecessary DataPacket->encode() calls
2018-08-13 15:52:55 +01:00
Dylan K. Taylor
15bac8c58a
Implement send buffering and queuing for network sessions ( #2358 )
...
Async compression and broadcasts are now reliable and don't have race condition bugs.
This features improved performance and significantly reduced bandwidth wastage.
Reduce Level broadcast latency by ticking network after levels. This ensures that session buffers get flushed as soon as possible after level tick, if level broadcasts were done.
2018-08-13 14:37:18 +01:00
Dylan K. Taylor
22c8077bdf
Merge branch 'release/3.2'
2018-08-13 13:22:47 +01:00
Dylan K. Taylor
ade2be9eee
Merge branch 'release/3.1' into release/3.2
2018-08-13 13:22:40 +01:00
Dylan K. Taylor
09ed40a921
Merge branch 'release/3.0' into release/3.1
2018-08-13 13:22:32 +01:00
Dylan K. Taylor
565373cee6
OfflinePlayer: remove unnecessary getName() usages
2018-08-13 13:22:00 +01:00
Dylan K. Taylor
c29723e3c4
OfflinePlayer: remove unnecessary strtolower() calls
...
closes #2371
2018-08-13 13:18:58 +01:00
Dylan K. Taylor
078a2486b5
Merge branch 'release/3.2'
2018-08-11 20:00:01 +01:00
Dylan K. Taylor
39ed6a7cdf
Merge branch 'release/3.1' into release/3.2
2018-08-11 19:59:53 +01:00
Dylan K. Taylor
a8811ab2b3
Fixed 1.5.0 PlayerSkinPacket protocol change that somehow disappeared
...
I am 100% sure I committed this change, but it isn't in the merge...
2018-08-11 19:59:44 +01:00
Dylan K. Taylor
dbf5d9e985
Merge branch 'release/3.2'
2018-08-11 19:37:55 +01:00
Dylan K. Taylor
bec5aaa54b
Merge branch 'release/3.1' into release/3.2
2018-08-11 19:37:18 +01:00
Dylan K. Taylor
974583a853
Merge branch 'release/3.0' into release/3.1
2018-08-11 19:37:10 +01:00
Dylan K. Taylor
03f8fe62d4
Fixed structure of GuiDataPickItemPacket
...
this changed in 1.2.0.7 beta and I didn't spot it.
2018-08-11 19:36:53 +01:00
Dylan K. Taylor
10f14beb4b
Fixed intermittent crash on player disconnect when async compression is enabled
2018-08-11 19:12:23 +01:00
Dylan K. Taylor
0d9968f305
Added donation methods
2018-08-11 15:22:58 +01:00
Dylan K. Taylor
9c94ebcf82
Updated DevTools submodule to get bloat fixes
2018-08-08 16:58:13 +01:00
Dylan K. Taylor
82bd6c5b34
Merge branch 'release/3.2'
2018-08-07 19:06:46 +01:00
Dylan K. Taylor
cf29ab1f17
Arrow: remove unused import
2018-08-07 19:06:40 +01:00
Dylan K. Taylor
d3fa8e0a0a
Merge branch 'release/3.2'
2018-08-07 18:49:21 +01:00
Dylan K. Taylor
c5c5a53a13
Merge branch 'release/3.1' into release/3.2
2018-08-07 18:49:13 +01:00
Dylan K. Taylor
699f35cc05
Merge branch 'release/3.0' into release/3.1
2018-08-07 18:49:06 +01:00
Dylan K. Taylor
8fa196efc9
FallingBlock: fixed state not being saved
2018-08-07 18:48:52 +01:00
Dylan K. Taylor
ec9ef891ee
Player: clean up some runtime usages of NBT
...
the goal is to get rid of this completely, but that's slightly complicated by the mess that is player creation right now.
2018-08-07 18:27:22 +01:00
Dylan K. Taylor
16b789a528
Player: remove useless checks from save()
...
this should never be called for a player with an empty username (because data isn't saved unless the player was spawned) and the instanceof is laughable.
2018-08-07 17:37:55 +01:00
Dylan K. Taylor
55ac1c80c9
Player: replace redundant usage of Server->broadcast()
2018-08-07 17:33:57 +01:00
Dylan K. Taylor
12a7436aea
Merge branch 'release/3.2'
2018-08-07 14:43:34 +01:00
Dylan K. Taylor
63a65680ac
typo
2018-08-07 14:43:29 +01:00
Dylan K. Taylor
202fb08792
Merge branch 'release/3.2'
2018-08-07 14:39:56 +01:00
왕고슴도치
47cd6fe105
EntityDamageEvent: Add API to customize Living entity attack cooldown time
...
closes #2310
2018-08-07 14:39:26 +01:00
Dylan K. Taylor
3fa9712a1e
Merge branch 'release/3.2'
2018-08-07 14:32:47 +01:00
Dylan K. Taylor
f582b5a3db
Merge branch 'release/3.1' into release/3.2
2018-08-07 14:32:38 +01:00
Dylan K. Taylor
b1ab881b99
Merge branch 'release/3.0' into release/3.1
2018-08-07 14:32:28 +01:00
Fris
69c54e789a
Clear the title bar when the server shutdown.
2018-08-07 14:31:39 +01:00
Dylan K. Taylor
bd993b2342
Merge remote-tracking branch 'origin/release/3.2'
2018-08-07 12:34:07 +01:00
Dylan K. Taylor
7f0fa2ac3d
PluginBase: Do not fill defaults from resources/config.yml ( #2316 )
...
This fixes #2219 .
2018-08-07 12:33:24 +01:00
Dylan K. Taylor
4597899ac3
Merge branch 'release/3.2'
2018-08-06 21:34:07 +01:00
max
f3b2bcfd13
Added Conduit Power effect
2018-08-06 21:30:15 +01:00
Dylan K. Taylor
e5b69deccf
Merge branch 'release/3.2'
2018-08-06 20:53:16 +01:00
Dylan K. Taylor
c947909c2e
Updated language submodule
2018-08-06 20:52:53 +01:00
Dylan K. Taylor
4142666df8
Level: clean up and remove checkTime()
2018-08-06 19:00:00 +01:00