91580ce321
fix bug in InventoryCloseEvent
2019-06-24 17:27:12 +01:00
ae9115ad0d
3.8.6 is next
2019-06-24 14:55:38 +01:00
6b090d653c
Release 3.8.5
2019-06-24 14:55:38 +01:00
181cfef731
Remove a whole bunch of useless crap from PluginLogger
...
this is pretty much just an implementation of a NTS attachable logger now. It should probably be converted into a trait.
2019-06-23 19:39:40 +01:00
197a56e3e1
move BookEditPacket handler out of Player
2019-06-23 19:23:20 +01:00
3103579ba6
Merge branch 'stable'
2019-06-22 20:26:21 +01:00
6925451f3f
StartGamePacket: added rogue field
...
this was added after 1.11.0 without a protocol version bump.
2019-06-22 20:25:50 +01:00
0273bd4f53
Merge branch 'next-minor'
2019-06-22 16:05:17 +01:00
6afc689529
Add Level->getTimeOfDay(), closes #2908 ( #2979 )
2019-06-22 16:00:18 +01:00
ce74549ba3
Use 10 bits for Y coordinate in blockhash
...
fixes #2553
2019-06-22 15:53:56 +01:00
ff8ca99c9f
CrashDump: revert removal of RCON password redact in 738e310798
...
there's guaranteed to be some plant pot who uses 4.0, leaks his RCON password, downgrades back to 3.x, and then gets hacked.
2019-06-18 19:53:43 +01:00
2559f5ec2b
Moved Player-related classes to pocketmine\player namespace
2019-06-18 18:51:36 +01:00
c66af4648c
Move thread-related classes from pocketmine to pocketmine\thread namespace
2019-06-18 17:36:25 +01:00
075f49aef0
don't send double disconnect messages
2019-06-18 16:22:41 +01:00
709963f90a
shut up PhpStorm
2019-06-18 16:07:43 +01:00
b18bd4f33c
rename SessionHandler -> PacketHandler
2019-06-18 16:02:46 +01:00
87c3636d44
ResourcePacksSessionHandler: moar debug
2019-06-18 15:10:58 +01:00
94299534b3
NetworkSession: fix some blind spots on logging
2019-06-18 15:01:44 +01:00
9df2ca3655
fixup some formatting issues
2019-06-18 14:12:37 +01:00
bb675ac99b
Set parallel bootstrap file if the extension is loaded
2019-06-18 14:05:39 +01:00
7b049b6db1
NetworkSession: use a better check for timeout
2019-06-17 17:30:42 +01:00
e0a9ea2573
Player: clean up some crazy spawn logic in constructor
...
this was probably a leftover from some old code, I guess
2019-06-17 17:07:31 +01:00
db3305cb16
Remove Entity->isClosed() checks from places where they don't make sense
...
in all of these cases, this is just potentially concealing bugs. Closed entities should never appear at these points.
2019-06-17 16:39:46 +01:00
92e81e3298
Player: move some respawn net sync logic to NetworkSession
2019-06-17 16:27:04 +01:00
3c677bd3ec
added PermissibleDelegateTrait to cut down boilerplate in Player and ConsoleCommandSender
2019-06-17 16:10:13 +01:00
20f092a685
Living: Do not use spl_object_id() for identifying effects
...
it's possible for these to have different IDs if they were cloned, serialized or copied between threads.
2019-06-17 15:58:33 +01:00
fe98b6c765
EnumTrait: rename getEnumName() -> name()
...
this is more concise and brings it more in line with Java.
2019-06-17 14:55:25 +01:00
c45c1c930e
SetEntityMotionPacket: Mark as garbage serverbound
2019-06-17 14:22:08 +01:00
b344427a30
Added a hack to allow dropping garbage serverbound packets sent by a buggy client
2019-06-17 14:20:29 +01:00
698193622a
WorldManager: rename get/setAutoSaveTicks() to get/setAutoSaveInterval()
...
this is less ambiguous.
2019-06-16 18:23:13 +01:00
b71bb867f4
DefaultPermissions: remove pocketmine.command.reload
2019-06-16 16:52:47 +01:00
94180cda72
Merge branch 'next-minor'
2019-06-16 16:42:05 +01:00
5a17a0d1aa
Merge branch 'stable' into next-minor
2019-06-16 16:37:23 +01:00
b38c81c96f
backport f84a1729c
: Inventory: added swap() function
2019-06-16 16:35:34 +01:00
0fabc0c199
backport b8d1eb20b
: EntityDeathEvent: add XP amount API, closes #2690
2019-06-16 16:31:03 +01:00
0ca07ad075
Fire QueryRegenerateEvent every 1 second instead of every 25, fixes #2670
2019-06-16 16:17:06 +01:00
60b183b0d9
backport a753c1342
: Clean up Query cache handling, remove useless timeouts
...
the timeout was entirely useless, because:
- when shorter than 25.6 seconds (512 ticks) it would cause caches to be needlessly destroyed and regenerated
- when longer than 25.6 seconds, just made outdated caches persist for longer, even after the query info was regenerated.
This now uses a mark-dirty model to deal with caches, which means that plugin modifications to the query data will be reflected immediately, regardless of when they are made. Previously, modifying the result of Server->getQueryInformation() would have inconsistent results.
2019-06-16 16:08:27 +01:00
ec5598dbb1
Deprecate things removed in acb794e72
and 97c836f19
2019-06-16 15:37:27 +01:00
5d3b4f23a3
Merge branch 'next-minor'
2019-06-16 14:52:37 +01:00
7b98d203f4
Merge branch 'stable' into next-minor
2019-06-16 14:47:01 +01:00
dbf4054b1f
backport 209135492
: UUID: add type docs
2019-06-16 14:44:13 +01:00
82e4ef6d48
backport d8c81c0a1
: UUID: remove useless default values
...
these are overwritten by the constructor, so they have no use here.
2019-06-16 14:43:28 +01:00
4635b93f4d
backport 23071d257
+ deprecations: Extract process-related functions from Utils into a separate Process class
2019-06-16 14:40:51 +01:00
a8433697ad
backport aaaddd1fd
: Terminal: stick a RESET on the end when writing a newline
2019-06-16 14:25:16 +01:00
d0d300a6f8
backport 342b48b75
: VersionString: Use the correct bitwise operators
2019-06-16 14:21:02 +01:00
680cdb8e3e
backport f5dbbea5f
: Utils: added recursiveUnlink()
2019-06-16 14:20:05 +01:00
eaa78fe849
backport 205e13d88
: Config: add getPath() ( #2758 )
...
Config->getPath() returns the path of the config i.e. the place where the config file is located.
2019-06-16 14:18:50 +01:00
eedea4998b
Terminal: Added write() and writeLine() to allow easily emitting Minecraft-formatted text to the console
2019-06-16 14:16:14 +01:00
4e5a80c481
Recipe: deprecate interface
2019-06-16 14:12:49 +01:00
4d54dc30c1
crafting: deprecate some stuff that's been removed on bleeding edge
2019-06-16 14:11:08 +01:00