6f36fa504b
TextFormat: make clean() less confusing, deduplicate some regex
2019-02-14 16:52:39 +00:00
8e73842a93
Player: work around 1.9 command casing crash bug, closes #2761
2019-02-14 16:17:17 +00:00
e71e18fc88
Merge branch '3.5' into 3.6
2019-02-14 16:02:30 +00:00
e1bacb5c6d
Human: fixed hunger underflow when value is a fraction, closes #2761
2019-02-14 16:01:25 +00:00
44697e784a
Sign: add validity checks on text encoding, scrub invalid UTF-8 on load
...
this works around a bug where corrupted text on preexisting signs can mess up the client. This also prevents corrupted text getting onto signs in the future by having them scrubbed and validated before applying them.
2019-02-14 15:16:51 +00:00
65529ff2ce
Command: add @throws CommandException
2019-02-14 15:09:41 +00:00
c346c45d42
Use regex for command argument parsing, fixes #2266
...
moral of the story: don't abuse functions for things they weren't designed for... lol
2019-02-14 15:07:58 +00:00
c433fad0a7
another /u modifier
2019-02-14 13:50:56 +00:00
8fad5a6e30
TextFormat: use mb_scrub() in clean()
...
this redacts invalid characters to prevent them appearing in places that might break the client.
2019-02-13 20:01:36 +00:00
7a6f279825
TextFormat: fixed clean() not being unicode-aware
2019-02-13 17:06:44 +00:00
10b72c895d
Merge branch '3.5' into 3.6
2019-02-13 14:53:00 +00:00
d520928888
Fixed startup time measurement, closes #2713 , closes #2750
2019-02-13 14:50:52 +00:00
27767e7ddb
Verify player name command input, closes #2729 , closes #2749
2019-02-13 14:50:43 +00:00
243c12de7c
EffectCommand: fix bounds check, closes #2055
2019-02-13 14:37:40 +00:00
372545e47e
Merge branch '3.5' into 3.6
2019-02-12 16:56:53 +00:00
8913b48700
"Implement" info-update and reserved6
2019-02-12 16:56:12 +00:00
6ee4a0e090
Implement invisible bedrock to fix placement issues
...
I don't know why this wasn't done a long time ago, but here it is.
2019-02-12 16:41:23 +00:00
8bd8da4bc6
Merge branch '3.5' into 3.6
2019-02-10 17:15:48 +00:00
9ba4144a71
Server: remove useless gc_collect_cycles()
...
the server is shutting down at this point so who cares if there are cycles...
2019-02-10 17:15:41 +00:00
9da7c6af27
new metadata properties
2019-02-10 13:59:21 +00:00
109312284c
3.6.2 is next
2019-02-08 16:41:10 +00:00
51934614bc
Release 3.6.1
2019-02-08 16:40:38 +00:00
9e89f65094
Fixed handling for some new blocks which slipped through the frontline
2019-02-08 16:38:17 +00:00
9562711b84
Updated BedrockData submodule to 1.9.0
2019-02-08 15:32:57 +00:00
30b49e0d22
Merge branch '3.5' into 3.6
2019-02-08 15:32:20 +00:00
a975868fc3
3.5.12 is next
2019-02-08 13:52:31 +00:00
b38b932845
Release 3.5.11
2019-02-08 13:52:09 +00:00
43cb19ebca
Updated bedrockData submodule to 1.8.0
2019-02-08 13:51:41 +00:00
769cc91543
ItemFactory: fix crash when getting negative item IDs
...
these are now treated the same as any unknown item, and are now not possible to place.
2019-02-08 13:51:41 +00:00
278f37d3e0
3.6.1 is next
2019-02-07 22:07:31 +00:00
02a6ca84a9
Releass 3.6.0
2019-02-07 22:06:33 +00:00
b8703d5dff
Protocol changes for 1.9.0
2019-02-07 21:56:42 +00:00
37c2d78731
3.5.11 is next
2019-02-07 20:47:05 +00:00
b7663e5815
Release 3.5.10
2019-02-07 20:46:27 +00:00
1d0ffa06f8
TallGrass: fixed placement on dirt, closes #2552
2019-02-07 16:55:25 +00:00
2822465f33
Updated submodules
2019-02-07 16:20:45 +00:00
5da48f429f
Fixed some remaining one-line field declarations, added type docs
2019-02-05 14:03:27 +00:00
dbd0d04549
fix wrong doc comments in Thread & Worker
2019-02-05 13:58:18 +00:00
0f92ec6d2a
Level: Record a debug message when chunks are loaded without loaders
2019-02-03 16:24:10 +00:00
791b4d8ef3
SplashPotion: measure distance from eye height instead of base
...
this fixes effect durations being off (mostly), closes #2650
there are still some minor differences, but this is closer matching than the previous version.
2019-02-03 11:32:47 +00:00
0b7ff6f2e7
Level: properly mark some functions as @internal
...
this ensures these functions won't appear in the documentation.
2019-02-01 14:33:06 +00:00
af092b01e1
3.5.10 is next
2019-01-31 18:47:57 +00:00
d811217755
Release 3.5.9
2019-01-31 18:47:32 +00:00
d7f86f0240
Hack for client side regeneration (disable natural regeneration gamerule) ( #2722 )
2019-01-31 18:45:25 +00:00
5fe1d2e396
Level: fixed setChunk() bug introduced by eebd90ec42
...
Anyone who is using getChunkPlayers() should probably check that their code is actually doing what they think it's doing.
2019-01-31 18:28:42 +00:00
ddbb5363ef
Block->getBreakTime() now throws InvalidArgumentException on items with bad efficiency values
2019-01-30 19:10:24 +00:00
d3704bfae4
3.5.9 is next
2019-01-30 12:49:46 +00:00
07f034d2da
Release 3.5.8
2019-01-30 12:49:16 +00:00
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
eebd90ec42
Level: fixed setChunk() leaking memory when not copying tiles/entities
...
closes #2719
2019-01-30 10:58:35 +00:00