9289 Commits

Author SHA1 Message Date
Dylan K. Taylor
c124aae219 Merge branch '3.5' 2019-01-30 13:09:43 +00:00
Dylan K. Taylor
d3704bfae4 3.5.9 is next 2019-01-30 12:49:46 +00:00
Dylan K. Taylor
07f034d2da Release 3.5.8 3.5.8 2019-01-30 12:49:16 +00:00
Dylan K. Taylor
331ae5498f Crash the generator when encountering invalid presets
this is a partial fix for #2717, but still not ideal because it'll spam whenever a chunk is attempted to be generated. However, fixing this properly requires potentially breaking API changes.
2019-01-30 12:29:04 +00:00
Dylan K. Taylor
5c24ac604a Merge branch '3.5' 2019-01-30 11:14:47 +00:00
Dylan K. Taylor
eebd90ec42 Level: fixed setChunk() leaking memory when not copying tiles/entities
closes #2719
2019-01-30 10:58:35 +00:00
Dylan K. Taylor
8e47a40b4c Level: rename poorly-named parameter of setChunk()
this now has a mouthful of a name. I'd like to invert it, but I can't do that without silently breaking backwards compatibility, which is unacceptable.
2019-01-30 10:26:18 +00:00
Dylan K. Taylor
90f3cb95d8 Merge branch '3.5' 2019-01-29 17:34:12 +00:00
Dylan K. Taylor
0f9fdf6442 Fixed Cactus and Sugarcane growing through bad blocks
closes #2714
2019-01-29 17:32:48 +00:00
Dylan K. Taylor
c5f0665853 Merge branch '3.5' 2019-01-29 14:05:00 +00:00
Dylan K. Taylor
5364e4de68 Explosion: fix chest unpairing (root cause of #2701)
not ready to call this "fixed" yet because any chests that were already affected by the bug will still be affected. This change will prevent the creation of more broken chests like this.
2019-01-29 13:58:47 +00:00
Dylan K. Taylor
1099e2044b SetupWizard: fixed user being able to avoid agreeing to license, closes #2703 2019-01-29 13:43:13 +00:00
Dylan K. Taylor
80d48161d3 Crops: fixed consuming bonemeal on fully-grown crop, closes #2704 2019-01-29 13:41:02 +00:00
Dylan K. Taylor
fbe8485696 Player: fixed falling causing starvation, closes #2708 2019-01-29 13:36:24 +00:00
Dylan K. Taylor
a150f39b02 Fixed fall handling when flying, closes #2709 2019-01-29 13:28:43 +00:00
Dylan K. Taylor
b6ecab1d49 Merge remote-tracking branch 'origin/3.5' 2019-01-29 12:53:38 +00:00
Dylan T
71d17c50d6
Fixed internal IP detection (#2711), closes #2702 2019-01-29 12:51:53 +00:00
Dylan K. Taylor
ceddf6f5d8 Merge branch '3.5' 2019-01-28 17:52:11 +00:00
Dylan K. Taylor
3a18bdd6a0 Prevent block-picking unknown blocks 2019-01-28 17:45:48 +00:00
Dylan K. Taylor
c3bbb8905c Human: simplify setFood() 2019-01-28 17:33:58 +00:00
Dylan K. Taylor
78dfcc5f2d Move Effect and EffectInstance to entity\effect namespace 2019-01-28 15:41:07 +00:00
Dylan K. Taylor
a6237958e8 Level: fix another crashy edge case in chunk ticking
this also removes a bias towards the chunk that the player is on, because this makes such chunks tick faster than adjacent chunks.
2019-01-27 20:41:47 +00:00
Dylan K. Taylor
9ec40c421f Split up Effects into a bunch of classes
Server-side levitation now works too.
2019-01-27 19:45:15 +00:00
Dylan K. Taylor
729ae8bab7 Level: fixed adjacent chunk loading check 2019-01-27 16:20:38 +00:00
Dylan K. Taylor
ac551cf248 Entity: add addMotion() to allow updating motion vector
this allows updating motion without needing to create new objects for the task.
2019-01-27 15:43:57 +00:00
Dylan K. Taylor
bccc07633c Entity: Allow disabling gravity for a mob 2019-01-27 15:42:46 +00:00
Dylan K. Taylor
6f9c4eb8e8 Merge branch '3.5' 2019-01-27 15:08:26 +00:00
Dylan K. Taylor
96857c65b6 Player: Fixed subscribing to broadcast permissions too early
Plugins would indirectly trigger permissible recalculation too early in the login sequence, which then caused their permissions to be recalculated and subscribing them to the broadcast permission far too early.
2019-01-27 15:08:08 +00:00
Dylan K. Taylor
0b1bdec3ac GameMode::fromString() now throws InvalidArgumentException 2019-01-26 17:09:54 +00:00
Dylan K. Taylor
e86ff7d988 Merge branch '3.5' 2019-01-26 17:00:04 +00:00
Dylan K. Taylor
9826abd83e Stair: fixed crash if player is null 2019-01-26 16:59:03 +00:00
Dylan K. Taylor
48c8c2a8c3 ItemFrame: address crashdump 2113950
thanks Mojang for designing this lovely system where so much undefined behaviour is able to take place :(
2019-01-26 16:58:25 +00:00
Dylan K. Taylor
d378371cc8 Transition to spl_object_id() 2019-01-26 15:06:38 +00:00
Dylan K. Taylor
1e708db26c Server: fixed wrong doc type on broadcastMessage() 2019-01-26 15:03:15 +00:00
Dylan K. Taylor
d052b1a45f Server: reduce code duplication in broadcast handling 2019-01-26 15:02:07 +00:00
Dylan K. Taylor
d6e44c7475 Sync composer dependencies 2019-01-26 14:11:45 +00:00
Dylan K. Taylor
eac8f639a7 Level: Simplify internal chunk ticking handling 2019-01-26 13:48:43 +00:00
Dylan K. Taylor
519f6e2668 Merge branch '3.5' 2019-01-26 12:08:21 +00:00
Dylan K. Taylor
c83b7d9b69 Utils: fixed getNiceClosureName() not processing namespaced closures properly 2019-01-26 12:08:07 +00:00
Dylan K. Taylor
939f3efa3b Merge branch '3.5' 2019-01-25 19:44:08 +00:00
Dylan K. Taylor
c66dc7b273 Level: Optimize blockticking coordinate selection
generating 1 large bounded random costs the same as generating 4 small ones, so it makes more sense to do it like this instead.

Note that prior to 7.1 this code would not work due to it not handling 64-bit appropriately.
2019-01-25 19:43:16 +00:00
Dylan K. Taylor
6ee484e401 ChunkLoader: remove getLoaderId() (take 2) 2019-01-25 18:58:01 +00:00
Dylan K. Taylor
bb27c76d13 Merge branch '3.5' 2019-01-25 17:12:00 +00:00
Dylan K. Taylor
5bf7350ee5 Level: change some stupid var names 2019-01-25 17:10:44 +00:00
Dylan K. Taylor
8a0f5cd7c9 Merge branch '3.5' 2019-01-25 13:19:40 +00:00
Dylan K. Taylor
636cc1c199 Level: some mitigations for #2675
this reduces the performance impact by using smaller keys, which reduces the key distance for nearby blocks.
2019-01-25 13:17:33 +00:00
Dylan K. Taylor
9d69154da5 Merge branch '3.5' 2019-01-24 18:45:06 +00:00
Dylan K. Taylor
62b6405371 Use 2 space indents in YAML files
this is (mostly) a backport of #2593 to 3.5. Closes #2593.
2019-01-24 18:44:06 +00:00
Dylan K. Taylor
469b24b0a5 Remove built-in spawn protection
Users should use the new BasicSpawnProtection plugin instead.
2019-01-24 16:56:15 +00:00
Dylan K. Taylor
df09b0101a Merge branch '3.5' 2019-01-24 11:50:19 +00:00