10751 Commits

Author SHA1 Message Date
Dylan K. Taylor
d2e4eb40b3 CompletedUsingItemPacket is superfluous 2019-11-08 08:29:25 +00:00
Stephen
6a31628e78 Clean up whitespace disaster and add getIngredient back 2019-11-07 23:43:26 -05:00
Stephen
bfb1ad1327 Removed PlayerUIInventory and BaseUIInventory 2019-11-07 23:17:01 -05:00
Stephen
dfa603c335 Simplify if null statement 2019-11-07 20:06:46 -05:00
Stephen
eef979db4c Switch to isUsingItem()
I don't plan on using this, as you informed me on discord that I didn't need the extra step, and it's a BC break anyway
2019-11-07 19:49:04 -05:00
Stephen
6166c90bfd No need for a try catch statement around reading a file 2019-11-07 19:45:47 -05:00
Stephen
35d1d0080a Removed count const and fixed BC break 2019-11-07 19:45:33 -05:00
Stephen
3bacb1a9cb Moved skin back
Not too sure what I planned on doing with that
2019-11-07 19:45:20 -05:00
Stephen
898af49e97 Add typehints to completedusingitempacket 2019-11-07 19:45:06 -05:00
Stephen
3061eb4157 Fixed convertToLegacyName not using variables, add typehints to it too 2019-11-07 19:44:49 -05:00
Stephen
b8d1d8f212 Clean up unused imports 2019-11-07 19:43:53 -05:00
Stephen
8c6189775b Removed root directory runtime states 2019-11-07 19:33:53 -05:00
Dylan K. Taylor
932418b951 fixing some PHPStan complaints about bootstrap
this isn't an ideal fix, but it'll do.
2019-11-07 18:22:37 +00:00
Dylan K. Taylor
95812252d6 NetworkBinaryStream: fix a mistake in doc for putEntityRuntimeId() 2019-11-07 18:22:37 +00:00
Stephen
7dec912d15 Fixed FloatingTextParticles 2019-11-06 23:22:41 -05:00
Stephen
dbd36d66ae Cape data can be null 2019-11-06 23:01:06 -05:00
Stephen
40b4166a6e created method sendCompletedUsingItemPacket for less duplication 2019-11-06 22:30:05 -05:00
Stephen
51d18ffb89 Merge branch 'stable' of https://github.com/pmmp/PocketMine-MP into stable 2019-11-06 22:10:41 -05:00
Stephen
af3c7b7c76 Updated ResourcePackType 2019-11-06 21:57:09 -05:00
Stephen
3511ac010d Fixed crafting 2019-11-06 20:42:53 -05:00
Dylan K. Taylor
cac3c356a5 Painting: fix dropping multiple items when multiple blockupdates occur in the same tick
test case: place sand on top of a line of signs, put a painting on the sand and break the supporting sign
fixes #2774 for stable
2019-11-06 14:29:43 -05:00
Stephen
07f19dd4a1 Fixed respawning 2019-11-05 22:33:12 -05:00
Stephen
17a17c31f3 Fixed items, but I'm not so sure how well this'll work out, it'll need improved in the future 2019-11-05 22:25:11 -05:00
Stephen
75742b487f Fixed stupid mistake 2019-11-05 21:56:20 -05:00
Stephen
4e9a2b6d8c Added CompletedUsingItemPacket 2019-11-05 21:19:49 -05:00
Stephen
4ea907ae1a Start saving new skin data 2019-11-05 21:01:01 -05:00
Stephen
8b912c1363 Removed some useless casts 2019-11-05 20:59:48 -05:00
Stephen
080209c469 Fixed persona skins being messed up on join 2019-11-05 20:35:33 -05:00
Stephen
5b11ddee35 Clean up duplicated skin entries 2019-11-05 20:30:41 -05:00
Stephen
3b7ded0ba3 Fixed changing skins crashing the server 2019-11-05 20:25:45 -05:00
Dylan K. Taylor
c5d3e9be76 phpstan: silence leveldb noise
maybe there's a better way to do this, but I don't know it yet.
2019-11-05 20:21:36 +00:00
Dylan K. Taylor
714f4dc023 fortify CI with PHPStan 2019-11-05 19:42:37 +00:00
Dylan K. Taylor
a86bcd5110 travis.sh: don't redownload phpunit if it already locally exists 2019-11-05 19:39:04 +00:00
Dylan K. Taylor
7ffc477d76 introduced baseline PHPStan configuration 2019-11-05 11:16:49 +00:00
Dylan K. Taylor
4cb0b319c0 load some non-class constants with composer
this makes PHPStan happy and also makes working with PM code externally less of a pain in the ass.
2019-11-05 11:16:22 +00:00
Stephen
5ebe9859e9 Moved runtime_block_states to vanilla 2019-11-04 21:47:44 -05:00
Drew
cd2b60a860 Initial update to 1.13 2019-10-30 21:36:08 -04:00
Dylan K. Taylor
cbef2bbc51 move ThreadException to pocketmine\thread namespace 2019-10-29 12:42:38 +00:00
Dylan K. Taylor
5edff79f5f 3.9.8 is next 2019-10-28 16:07:35 +00:00
Dylan K. Taylor
0c91d568b4 Release 3.9.7 3.9.7 2019-10-28 16:07:35 +00:00
Dylan K. Taylor
35fabc7765 updated DevTools submodule to 1.13.5 2019-10-28 16:03:26 +00:00
Dylan K. Taylor
2e446e4df3 added pocketmine/classloader dependency (extracted from pocketmine/spl) 2019-10-28 12:29:48 +00:00
Dylan K. Taylor
b5a98a993f lazy-init RuntimeBlockMapping 2019-10-27 20:58:43 +00:00
Dylan K. Taylor
0840ba8067 PocketMine.php: reduce unnecessary pocketmine\NAME dependencies 2019-10-26 21:37:15 +01:00
Dylan K. Taylor
274cf58ccf PocketMine.php: remove useless ini_set() (this is a PHP_INI_SYSTEM directive which can't be changed at runtime) 2019-10-25 21:38:47 +01:00
Dylan K. Taylor
1bce5d0bc2 PocketMine.php: move BaseClassLoader creation to where it's actually used 2019-10-25 21:26:22 +01:00
Dylan K. Taylor
0d5d5e21a8 CommandReader: define $w and $e to make PHPStan happy 2019-10-25 16:11:02 +01:00
Dylan K. Taylor
a145e18c1e CrashDump: use fully qualified reference for GIT_COMMIT constant
this makes it easier to filter out PHPStan noise.
2019-10-25 16:08:37 +01:00
Dylan K. Taylor
d1ca779c1a fix PHPStan @throws incompatible warning 2019-10-25 15:49:47 +01:00
Jack Noordhuis
c8cf329c94 Plugin::getLogger() interface no longer depends on PluginLogger (#3160)
The Plugin contract now typehints the relied on AttachableLogger contract rather than the concrete PluginLogger implementation.
2019-10-24 20:26:42 +01:00