9826abd83e
Stair: fixed crash if player is null
2019-01-26 16:59:03 +00:00
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
4fd3bee360
Entity: Address fireticks crashdumps
...
This will now throw an exception at the source instead of crashing when the entity is saved, which should put the blame on the correct plugin responsible for this.
This also includes magic method hacks to preserve backwards compatibility, since the fireTicks field is now protected.
2019-01-19 16:05:10 +00:00
254281cd5e
Ice: don't create water for creative players, fixes #2622
2019-01-05 09:26:35 +00:00
4b9a142a5d
Import global functions and constants for enhanced performance
...
This is better for performance because these then don't need to be reevaluated every time they are called.
When encountering an unqualified function or constant reference, PHP will first try to locate a symbol in the current namespace by that name, and then fall back to the global namespace.
This short-circuits the check, which has substantial performance effects in some cases - in particular, ord(), chr() and strlen() show ~1500x faster calls when they are fully qualified.
However, this doesn't mean that PM is getting a massive amount faster. In real world terms, this translates to about 10-15% performance improvement.
But before anyone gets excited, you should know that the CodeOptimizer in the PreProcessor repo has been applying fully-qualified symbol optimizations to Jenkins builds for years, which is one of the reasons why Jenkins builds have better performance than home-built or source installations.
We're choosing to do this for the sake of future SafePHP integration and also to be able to get rid of the buggy CodeOptimizer, so that phar and source are more consistent.
2019-01-04 20:43:15 +00:00
2921c86b3c
Torch: fixed crash on blockupdate with corrupted meta
2018-12-30 19:50:35 +00:00
0ea166a551
Prevent placement of unknown blocks, closes #2260
...
I don't know why I ever allowed this in the first place... stupid idea...
2018-12-28 13:03:34 +00:00
d34b94302f
fixed lava fizz sound
2018-12-12 18:00:43 +00:00
30f5a8fac6
Protocol changes for 1.8.0 release
2018-12-11 21:05:03 +00:00
e3f46987f5
Liquid: Add events to allow controlling flow and fusion ( #2547 )
2018-12-04 13:14:22 +00:00
f61e099828
Merge branch 'release/3.3' into release/3.4
2018-10-24 15:52:04 +01:00
09985c5763
Fixed async light population producing garbage when generator isn't registered, closes #2488
2018-10-24 15:49:00 +01:00
6dd2597934
Merge branch 'release/3.3' into release/3.4
2018-10-21 18:17:07 +01:00
45c9caa38c
Fixup some formatting issues
2018-10-21 18:15:25 +01:00
495fdbd19f
Move block and network namespaces away from PluginManager->callEvent()
...
the original step that wasn't supposed to cause conflicts, caused messy conflicts... so I might as well do this part too
2018-10-05 18:22:49 +01:00
06f00020cd
Merge branch 'release/3.2' into release/3.3
2018-09-23 16:35:20 +01:00
7b0836d399
Merge branch 'release/3.1' into release/3.2
2018-09-23 16:35:11 +01:00
cea146e335
Thin: use bounding box instead of collision boxes
2018-09-23 16:35:01 +01:00
6b44f99dfb
Merge branch 'release/3.2' into release/3.3
2018-09-20 16:50:04 +01:00
33d3fff3c5
Merge branch 'release/3.1' into release/3.2
2018-09-20 16:49:57 +01:00
7c092b93b4
Fixed bug when placing blocks by clicking on redstone ore
2018-09-20 16:49:50 +01:00
aa05650994
Fixed block picking for mob heads
2018-09-20 13:11:45 +01:00
758d9b9784
Farmland: fixed block picking
2018-09-20 12:03:01 +01:00
9a5d51fd3d
Fixed block-picking cake giving the block instead of item
2018-09-20 11:31:48 +01:00
fa9ea6a7d7
Merge branch 'release/3.2' into release/3.3
2018-09-20 10:04:19 +01:00
6a7f39978b
Merge branch 'release/3.1' into release/3.2
2018-09-20 10:03:47 +01:00
c52e1ea9f9
Fixed block picking double slabs giving the double slab block
2018-09-20 10:02:55 +01:00
5e94d20d79
Merge branch 'release/3.2' into release/3.3
2018-09-19 16:17:00 +01:00
a0bb747d6d
Merge branch 'release/3.1' into release/3.2
2018-09-19 16:16:18 +01:00
4bc0d850b1
Added Block->getRuntimeId(), clean up some mess
2018-09-19 16:16:10 +01:00
ad9df6764d
Merge branch 'release/3.2' into release/3.3
2018-09-18 12:32:07 +01:00
97583c8b04
Merge branch 'release/3.1' into release/3.2
2018-09-18 12:32:01 +01:00
107192c753
Bed: fixed block-pick giving wrong colour items
2018-09-18 12:31:53 +01:00
6309a242dc
Merge branch 'release/3.2' into release/3.3
2018-09-18 12:22:26 +01:00
870f9abc20
Merge branch 'release/3.1' into release/3.2
2018-09-18 12:22:20 +01:00
0e2bbc44db
Fixed drops and item picking of Brewing Stand
2018-09-18 12:22:12 +01:00
e58d015f14
Merge branch 'release/3.2' into release/3.3
2018-09-16 17:47:08 +01:00
d9768abe47
Merge branch 'release/3.1' into release/3.2
2018-09-16 17:47:01 +01:00
e9b84ecc8b
Fixed incorrect break check for torch
2018-09-16 17:46:50 +01:00
99d6aa92cb
Implemented rail connectivity ( #2414 )
2018-09-10 19:32:11 +01:00
888dba704b
Merge branch 'mcpe-1.6' into release/3.2
2018-08-29 16:23:53 +01:00
986077e03c
Protocol changes for 1.6.0.1
2018-08-21 17:14:53 +01:00
c496480d2b
Merge branch 'release/3.1' into release/3.2
2018-08-19 19:52:40 +01:00
64ed8adefc
Cactus: fixed place/break logic mismatch causing item spewing
2018-08-19 19:52:07 +01:00
aa7c4bc64d
Merge branch 'release/3.1' into release/3.2
2018-08-15 13:48:46 +01:00
a604e6835e
CoalOre: fixed ignoring silk touch for XP drops, closes #2374
2018-08-15 13:48:29 +01:00
fe7ad7a5b3
Merge branch 'release/3.0' into release/3.1
2018-07-14 10:39:28 +01:00
7bfe487ee5
ConcretePowder: fixed a missed usage of Block::get()
2018-07-14 10:35:05 +01:00
24f749a933
Merge branch 'release/3.0' into release/3.1
2018-07-13 12:36:10 +01:00
d8cf835f92
BlockFactory: better handling for dodgy IDs
...
I thought I'd already dealt with this, but it seems not.
2018-07-13 12:31:22 +01:00