aa55cd9acf
Merge branch 'release/3.2'
2018-08-19 13:01:54 +01:00
ebffff0caa
Added CommandEvent, deprecated (Remote)?ServerCommandEvent ( #2376 )
2018-08-19 12:59:16 +01:00
1177a381c8
Merge branch 'release/3.2'
2018-08-19 11:45:16 +01:00
0dc4bd36e1
Form: change handleResponse() return type to void
...
this returning is counter intuitive and doesn't make any sense without the queuing mechanism. Instead it's simpler to just use Player->sendForm().
2018-08-19 11:44:59 +01:00
3a1f0eca7c
Merge branch 'release/3.2'
2018-08-19 11:23:04 +01:00
9d17c9a09d
Merge branch 'release/3.1' into release/3.2
2018-08-19 11:22:58 +01:00
72f46b4631
Merge branch 'release/3.0' into release/3.1
2018-08-19 11:22:51 +01:00
3892f2f404
Config: Properly prevent keys getting transformed into bools
...
The original regex almost completely failed at its objective, because it a) only worked if there was no value for the key, and b) did not prevent all such occurrences getting transformed, while quoting patterns that would not get transformed anyway.
2018-08-19 11:22:36 +01:00
9ad30e239a
Merge branch 'release/3.2'
2018-08-19 10:37:20 +01:00
bfa415e108
Add unit tests for json decoding hack
2018-08-19 10:30:52 +01:00
b66095cb36
Added a hack for MC W10 JSON empty strings bug ( #2383 )
2018-08-19 10:10:40 +01:00
06d7ee283d
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.
2018-08-18 13:42:00 +01:00
a306421737
Entity: remove lastX lastY lastZ lastYaw lastPitch, replace with lastLocation object field
2018-08-18 13:38:19 +01:00
f8e3b0b16b
Support bot: Be a little less rude
2018-08-18 13:22:53 +01:00
bbd878986d
Merge branch 'master' of https://github.com/pmmp/pocketmine-mp
2018-08-17 19:48:44 +01:00
44daf57fbb
Merge branch 'release/3.2'
2018-08-17 19:48:18 +01:00
0336ae8229
Merge branch 'release/3.1' into release/3.2
2018-08-17 19:47:41 +01:00
4a1d67cb91
Merge branch 'release/3.0' into release/3.1
2018-08-17 19:47:34 +01:00
b4694092b7
Painting: fix motive not being saved
2018-08-17 19:47:26 +01:00
2438d20971
Fixed zero-compression being ignored for small packets
2018-08-16 22:23:09 +01:00
24d0102ffb
Merge branch 'release/3.2'
2018-08-16 18:34:13 +01:00
4b3e17e681
Sync 3.2 and 3.1 branches
2018-08-16 18:33:54 +01:00
d99ee515c6
3.1.5 is next
2018-08-16 18:33:27 +01:00
17f7dc34be
Release 3.1.4
3.1.4
2018-08-16 18:26:49 +01:00
a63d66c048
Sync 3.1 and 3.0 branches
2018-08-16 18:26:26 +01:00
95f6995ae0
3.0.12 is next
2018-08-16 18:25:31 +01:00
4a24d7909e
Release 3.0.11
3.0.11
2018-08-16 18:14:04 +01:00
718ca40379
Merge branch 'release/3.2'
2018-08-16 15:52:25 +01:00
5424644ca1
Merge branch 'release/3.1' into release/3.2
2018-08-16 15:52:19 +01:00
4e2387edc1
Merge branch 'release/3.0' into release/3.1
2018-08-16 15:52:12 +01:00
a5e38576ef
ItemEntity: fixed using -1 for infinite pickup delay not working
...
closes #2382 (squash-merge)
2018-08-16 15:52:05 +01:00
d32b9ec5dc
Player: remove useless write to NBT
...
the parent constructor doesn't care about this tag, and the tag is discarded afterwards.
2018-08-15 14:56:02 +01:00
2ee0436f46
Continued cleanup of runtime entity NBT removal
...
it's no longer necessary to force-write these, since the NBT is now ephemeral. Any tag type mismatches should be dealt with on read, after which the original tag will be discarded anyway.
2018-08-15 14:50:58 +01:00
30fcfac8cf
Merge branch 'release/3.2'
2018-08-15 13:48:52 +01:00
aa7c4bc64d
Merge branch 'release/3.1' into release/3.2
2018-08-15 13:48:46 +01:00
381151dedc
Merge branch 'release/3.0' into release/3.1
2018-08-15 13:48:36 +01:00
a604e6835e
CoalOre: fixed ignoring silk touch for XP drops, closes #2374
2018-08-15 13:48:29 +01:00
728142b113
Level: remove useless check for RIGHT_CLICK_AIR
...
it's impossible for this to fire because of the condition immediately above, and makes no sense anyway...
2018-08-14 19:39:06 +01:00
b3d8d10bec
Player: move flight toggling to its own method
2018-08-14 19:21:13 +01:00
d8198d8130
Fixed setItemInHand() regressions when placing or breaking blocks
...
this was causing any items set into the hand during these events _at all_ to get overwritten, rather than just tools. That's a bit of a problem for buckets because buckets rely on a bad hack to handle the modified items.
This doesn't fix the tools bug, but that's a job for another time.
2018-08-14 16:44:14 +01:00
cef1fe9524
Merge branch 'release/3.2'
2018-08-14 16:11:42 +01:00
df8e10cad9
Forms API, part 1: add Player->sendForm() and Form interface
...
There's no implementation here yet, but that can come later. This lays the ground for allowing plugins to have an integrated method to send forms, as well as a solution to the ID conflict problem.
A built in implementation should not be a concretion and it should be able to be swapped for third party implementations. This enables the possiblity to do so.
2018-08-14 16:06:55 +01:00
0ae9b41062
Merge branch 'release/3.2'
2018-08-14 15:03:37 +01:00
d98a6e566c
Merge branch 'release/3.1' into release/3.2
2018-08-14 15:03:30 +01:00
142a6d7678
Merge branch 'release/3.0' into release/3.1
2018-08-14 15:03:22 +01:00
b2ca364de0
SplashPotion: Don't apply effects to entities which are not alive
...
fixes #2372
2018-08-14 15:03:15 +01:00
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
0273e2484e
Kill entity runtime NBT ( #2361 )
2018-08-14 13:33:02 +01:00
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
59a51a6c75
ArmorInventory: use broadcast for sending armour updates
2018-08-13 16:12:25 +01:00