Dylan K. Taylor
82974e0271
NullSessionHandler: possibly premature optimization
2019-05-06 17:28:56 +01:00
Dylan K. Taylor
685481b172
NetworkSession: improve GC performance without crashing everything
...
this is necessary because some handlers have circular references to the session, which causes GC lag collecting them. This change allows them to be collected immediately without nuking internal state.
2019-05-06 16:43:05 +01:00
Dylan K. Taylor
5250a432d1
NetworkSession: add a dedicated PrefixedLogger, clean up some boilerplate code
2019-05-06 16:32:34 +01:00
Dylan K. Taylor
6d64ef8d74
Server: fixed crash reporting bug introduced by a6e5b6e158ff82da1a5ee1f12376c37d4f25114c
2019-05-05 20:52:52 +01:00
Fabian Faßbender
c5498bb3fa
Implement a locking variable to circumvent a infinite regression ( #2901 )
...
closes #2876
2019-05-03 14:46:51 +01:00
Dylan K. Taylor
7ae84944ca
protocol: add some missing interfaces for new packets
2019-05-02 17:35:54 +01:00
Dylan K. Taylor
6b4c11febb
Merge branch 'next-minor'
2019-05-02 17:26:02 +01:00
Dylan K. Taylor
9fd922fe6a
Merge branch 'stable' into next-minor
2019-05-02 17:25:29 +01:00
Dylan K. Taylor
59334d652f
3.8.3 is next
2019-05-02 17:13:50 +01:00
Dylan K. Taylor
5c81da9b1e
Release 3.8.2
3.8.2
2019-05-02 17:13:21 +01:00
Dylan K. Taylor
b08affc4c6
Updated preprocessor submodule
2019-05-02 17:11:40 +01:00
Dylan K. Taylor
af07ffb292
Merge branch 'next-minor'
2019-05-02 16:44:50 +01:00
Dylan K. Taylor
fdaf9dce73
Merge branch 'stable' into next-minor
2019-05-02 16:39:05 +01:00
Dylan K. Taylor
cb49f1e835
fixed air being breakable by creative players
...
closes #2851
2019-05-02 16:25:23 +01:00
Dylan K. Taylor
f6a0f4aa82
Player: fixed immobile interference on PlayerJoinEvent
...
closes #2894
this should use a cleaner hack that doesn't affect plugins at all, but that's too much work for this one bug fix.
2019-05-02 16:20:28 +01:00
Dylan K. Taylor
de09c8c082
Player: fix crash handling resource pack requests
2019-05-02 16:17:39 +01:00
Dylan K. Taylor
0ac87989dc
Update RakLib to 0.12.4
2019-05-02 16:08:03 +01:00
Dylan K. Taylor
0317b0f22d
Merge branch 'next-minor'
2019-05-02 15:07:38 +01:00
Dylan K. Taylor
732e27751c
Merge branch 'stable' into next-minor
2019-05-02 15:04:23 +01:00
Dylan K. Taylor
13ea984b12
Server: setup world things at a more appropriate time
...
closes #2859
this also fixes reported headaches attempting to override generators before world load.
2019-05-02 15:02:10 +01:00
Dylan K. Taylor
3878f58847
Level: fixed crash when time overflows
...
this can be triggered by a plugin setting time to PHP_INT_MAX
fixes CA 2346977
2019-05-02 14:22:01 +01:00
Dylan K. Taylor
d7a35a5302
Entity: fixed motion not being initialized when Motion
NBT tag is missing
...
fixes CA 2355485
2019-05-02 14:00:28 +01:00
Dylan K. Taylor
1730415643
Player: remove useless checks from spawnTo(), closes #2897
...
this was caused by changes on 4.0, but this code is nonetheless useless.
2019-05-01 14:43:11 -04:00
Dylan K. Taylor
293311569d
Merge branch 'next-minor'
2019-05-01 18:55:49 +01:00
=?UTF-8?q?Fabian=20Fa=C3=9Fbender?=
932c489de1
Rename addTitle/addSubTitle/addActionBarMessage prefixes to "send", deprecated old variants
...
closes #2896
these deprecated methods will be removed in 4.0.
2019-05-01 18:54:20 +01:00
Dylan K. Taylor
67e75d6c0a
Moved DataPropertyManager to network namespace
...
this is _extremely_ network-focused code.
2019-04-26 18:57:44 +01:00
Dylan K. Taylor
854a2f5135
Move a giant heap of network garbage out of Entity
2019-04-26 18:52:38 +01:00
Dylan K. Taylor
ea8c723092
EntityFactory: added some documentation
2019-04-26 18:15:31 +01:00
Dylan K. Taylor
854c3a816c
LevelManager::generateLevel(): avoid multiple return points
...
this could cause unexpected results if additional code is added after background generation in the future.
2019-04-26 18:05:34 +01:00
Dylan K. Taylor
7c7f42eba6
Added API method to get & set autosave interval
2019-04-26 18:01:40 +01:00
Dylan K. Taylor
6aa8276532
Revert "Player: removed useless addActionBarMessage()"
...
This reverts commit 7d22b2a6d7d372a5020b9a2b44a93cdc821565c8.
2019-04-26 15:41:19 +01:00
Dylan K. Taylor
6a2d1fbdda
Merge branch 'stable'
2019-04-26 15:06:46 +01:00
Dylan K. Taylor
d850a84d0d
Level: clean up and remove checkTime()
2019-04-26 14:15:41 +01:00
Dylan K. Taylor
22d9260a3b
remove unused import
2019-04-26 13:56:32 +01:00
Dylan K. Taylor
3c90ed13b9
NoteBlock: added //TODO
2019-04-26 12:45:08 +01:00
Dylan K. Taylor
396efbac7e
Human: simplify setFood()
2019-04-26 12:40:15 +01:00
Dylan K. Taylor
00644dd529
Fixed an edge-case in AvailableCommandsPacket decoding
2019-04-26 12:32:42 +01:00
Dylan K. Taylor
c2c210e25a
Fixed --enable-ansi and --disable-ansi not being respected on threads
...
this causes some breakage to the behaviour of Terminal, and for that reason this is going on 4.0.
Terminal::hasFormattingCodes() will no longer auto-detect whether colour codes are supported.
2019-04-26 12:30:24 +01:00
Dylan K. Taylor
86c4e936cb
Player now drops the contents of temporary inventories
...
these inventories are just glorified crafting tables.
2019-04-26 12:27:52 +01:00
Dylan K. Taylor
3b103dcd62
Level: use isInWorld() where appropriate
2019-04-26 12:26:01 +01:00
Dylan K. Taylor
48dfc5b232
Level: reduce complexity of populateChunk()
2019-04-26 12:18:00 +01:00
Dylan K. Taylor
39360f127a
Player: Don't use iusername in cases where it's useless
...
these calls all do strtolower() anyway, so having iusername here just makes it confusing.
2019-04-26 12:07:47 +01:00
Dylan K. Taylor
25890e76e2
Player: replace redundant usage of Server->broadcast()
2019-04-26 12:04:56 +01:00
Dylan K. Taylor
810bdeb965
Test one extra case for LevelProviderManager
2019-04-26 12:01:12 +01:00
Dylan K. Taylor
b6b3dcc1aa
Improve documentation of SourceInterface and AdvancedSourceInterface
2019-04-26 11:59:10 +01:00
David Schwartz
e0818e7e52
reorganize and optimize start.sh ( #2267 )
2019-04-26 11:54:50 +01:00
Dylan K. Taylor
4ca40a21ae
Merge remote-tracking branch 'origin/stable'
2019-04-26 06:24:07 -04:00
Dylan K. Taylor
d0c4463773
3.8.2 is next
2019-04-26 10:08:59 +01:00
Dylan K. Taylor
7521160f53
Release 3.8.1
3.8.1
2019-04-26 10:08:22 +01:00
Dylan K. Taylor
7ec926867f
Merge branch 'stable'
2019-04-25 20:54:23 +01:00