Dylan K. Taylor
92be8c8ec0
PopulationTask: don't assume anything about TLS return values
...
while these SHOULD be what we say they are, it's possible for something else to overwrite them with junk and make the server catch fire.
2019-12-12 12:19:54 +00:00
Dylan K. Taylor
62069bc7af
Level: fix return type content doc comment for getAdjacentChunks()
2019-12-12 12:18:35 +00:00
Dylan K. Taylor
b8778cb791
LevelProvider: fix doc comment of ::generate()
...
this raised false positives on phpstan level 4
2019-12-12 11:59:12 +00:00
Dylan K. Taylor
7e98aa1497
leveldb: remove usage of multi-import statement
...
this doesn't conform to the code style.
2019-12-09 20:28:02 +00:00
Dylan K. Taylor
c10ce84035
fix invisible legacy skins which have empty geometry names
2019-12-07 10:02:22 +00:00
Dylan K. Taylor
d20d9fb689
Merge branch 'stable' into drew-1.13
2019-12-05 10:59:53 +00:00
Dylan K. Taylor
39c607cbd5
Position: mark level field as nullable
...
allowing the level to be null is, to be honest, a big design flaw, but one that can't be fixed without BC breaks.
2019-12-04 21:31:35 +00:00
Stephen
e38c0c0fe1
Merge remote-tracking branch 'upstream/stable' into stable
2019-12-01 21:55:50 -05:00
Dylan K. Taylor
dbab8b5733
Level: fixed type doc of tickRateTime field
2019-12-01 21:21:42 +00:00
Dylan K. Taylor
17037f5e9c
Chunk: clean up nonsensical code in initChunk()
...
I have no idea why the extra check was there, or why the null assignment was used, because it doesn't make any sense.
2019-12-01 21:14:23 +00:00
Stephen
600e16d9f6
Fixed floatingtextparticle yet again
2019-11-21 13:54:00 -05:00
Stephen
be9c413a9e
Added network components for skins, to collect instead of throw out data
2019-11-20 21:43:41 -05:00
Stephen
49a9e0a880
Remove changes to FloatingTextParticle
2019-11-11 15:26:36 -05:00
Stephen
fb23aade34
Clean up unused imports
2019-11-10 21:49:58 -05:00
Stephen
e2fc7cdf88
Friendly BC skins (persona not supported)
2019-11-10 21:04:38 -05:00
Stephen
7dec912d15
Fixed FloatingTextParticles
2019-11-06 23:22:41 -05:00
Drew
cd2b60a860
Initial update to 1.13
2019-10-30 21:36:08 -04:00
Dylan K. Taylor
29f002b32c
LightUpdate: fixed type doc for updateNodes field
2019-10-22 12:23:42 +01:00
Dylan K. Taylor
447477c5fb
RegionLoader: Write location table changes when deleting chunks
2019-10-20 20:54:46 +01:00
Dylan K. Taylor
abdbb2bf0e
backport 3f6660027: RegionLoader: Extract location table validation to separate function
2019-10-20 20:53:47 +01:00
Dylan K. Taylor
783c13926f
backport f2404804d: RegionLoader: clean up lastSector handling
2019-10-20 20:48:29 +01:00
Dylan K. Taylor
45329ddf67
backport 07a9c35ee: RegionLoader: Use objects instead of arrays
2019-10-20 20:42:55 +01:00
Dylan K. Taylor
20af789963
backport 3e58708130d9a77c261b3a1355fa2e0163a5c7c6: Add some missing @throws annotations
2019-10-20 20:23:51 +01:00
Dylan K. Taylor
93cb9390e0
RegionLoader: backport 62185d476bc2463be6de20604cd4ef83733dcce2
2019-10-20 19:59:02 +01:00
Dylan K. Taylor
04e4a36653
LevelDB: remove unnecessary \pocketmine\NAME dependency
...
this is non-obvious and makes it a pain the ass to use outside of PM.
2019-10-17 18:56:51 +01:00
Dylan T
247875e3d5
Explosion: add documentation for explodeA() and explodeB()
...
these functions really ought to be renamed, or possibly redesigned entirely. However, that's no task for a patch version.
[ci skip]
2019-10-07 09:44:17 +01:00
Dylan K. Taylor
53dc6e2050
fix TallGrass and Tree random/base amounts never being initialized, closes #2996
2019-08-11 19:06:20 +01:00
Dylan K. Taylor
8f5eb7ef37
Level: fix memory leak on scheduled blockupdate in unloaded chunk
2019-07-30 15:37:24 +01:00
Dylan K. Taylor
2d3562c687
World: fixed scheduled updates causing chunk loading
...
this probably needs to be backported.
2019-07-29 17:21:54 +01:00
Dylan K. Taylor
622f93df45
remove usages of deprecated {} string access, closes #3035
2019-07-22 16:39:33 +01:00
Dylan K. Taylor
3fae57508b
update particle ids
2019-07-13 20:08:17 +01:00
Dylan K. Taylor
c58a1bf9b7
Protocol changes for 1.12.0.28
2019-07-12 19:00:15 +01:00
Dylan K. Taylor
f714ed6e90
Generator: fixed incorrect negative seed parsing in convertSeed()
2019-07-05 19:20:21 +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
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
d850a84d0d
Level: clean up and remove checkTime()
2019-04-26 14:15:41 +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
1e5941c98c
Level: Properly report world save timings
...
this wasn't including chunk unloading in the world save timings.
2019-04-18 19:39:23 +01:00
Dylan K. Taylor
612e9e162c
Fixed worlds with unknown generators silently getting wrong generator, closes #2860
2019-04-06 15:17:36 +01:00
Dylan K. Taylor
8e9f787d33
Implement runtimeID table randomization, closes #2841
2019-03-29 14:35:06 +00:00
Dylan K. Taylor
6a55021779
Flat: Allow asterisk in preset layers
...
closes #2818
2019-03-21 18:59:50 +00:00
Dylan K. Taylor
562179bdd6
Backport 58cafc853f2caa013c65d98ab56f13ac3abe521c: s/level/world (strings only)
...
we should look at doing this for code too, but for now I'm not planning to break everyone's plugins.
2019-03-10 11:35:46 +00:00
Dylan K. Taylor
99606bbe23
beware possible API break
2019-03-09 19:33:46 +00:00
Dylan K. Taylor
0659d2fbef
Backport 6bd43a8215b9e612478fe789da9a58b36f0f0e73: Firehose auto-tick-rate anti-feature, closes #2665
2019-03-09 19:20:53 +00:00
Dylan K. Taylor
414104851a
LevelDB: Mark chunks as changed when upgraded from an older chunk format
2019-03-09 19:02:34 +00:00
Dylan K. Taylor
d25c84acff
Fixed RegionLoader corrupting location table when too-large chunks are discovered
...
this was making the location table point to an offset that did not yet exist, which caused the region header consistency check to discard the region as corrupted the next time it was loaded.
2019-03-05 12:09:27 +00:00
Dylan K. Taylor
55994e08db
RegionLoader: make some error messages more detailed
2019-03-05 11:18:02 +00:00
Dylan K. Taylor
6f5d4d6b80
RegionLoader: fixed handling of invalid chunk coordinates
2019-03-05 10:52:36 +00:00
Dylan K. Taylor
0f92ec6d2a
Level: Record a debug message when chunks are loaded without loaders
2019-02-03 16:24:10 +00:00