Dylan K. Taylor
|
aac7da6c96
|
eliminate remaining empty() usages
|
2020-02-07 21:51:50 +00:00 |
|
Dylan K. Taylor
|
fb1126797a
|
Merge branch 'stable'
|
2020-02-07 18:13:55 +00:00 |
|
Dylan K. Taylor
|
9c33ea8dd1
|
EnumTrait: use a better method to initialize enums
this method is simpler, and is also safe at the native type level.
Coincidentally, it also eliminates 30 PHPStan false-positives.
|
2020-02-01 20:33:30 +00:00 |
|
Dylan K. Taylor
|
89c6da13ac
|
phpstan: use more class-string
|
2020-01-31 22:05:33 +00:00 |
|
Dylan K. Taylor
|
cb16f5c142
|
Merge commit '260ac47588c76a2e6814cfba46773a990fb8c5da'
# Conflicts:
# resources/vanilla
# src/Server.php
# src/lang/Language.php
# src/network/mcpe/protocol/AddItemActorPacket.php
# src/network/mcpe/protocol/AddPlayerPacket.php
# src/network/mcpe/protocol/SetActorDataPacket.php
# src/network/mcpe/serializer/NetworkBinaryStream.php
# src/permission/Permission.php
# src/pocketmine/block/Leaves.php
# src/pocketmine/entity/DataPropertyManager.php
# src/pocketmine/entity/Entity.php
# src/pocketmine/item/Banner.php
# src/pocketmine/item/Item.php
# src/pocketmine/level/format/io/LevelProvider.php
# src/pocketmine/level/format/io/LevelProviderManager.php
# src/pocketmine/network/mcpe/protocol/AddActorPacket.php
# src/pocketmine/network/mcpe/protocol/LoginPacket.php
# src/pocketmine/tile/Banner.php
# src/scheduler/BulkCurlTask.php
# src/updater/AutoUpdater.php
# src/utils/Config.php
# src/utils/Utils.php
# src/world/generator/Flat.php
# src/world/generator/Generator.php
|
2020-01-31 21:07:34 +00:00 |
|
Dylan K. Taylor
|
96ac95798b
|
Merge commit '4ff4434a220813e446efde4a38e48a0416476dba'
# Conflicts:
# resources/vanilla
# src/pocketmine/item/Banner.php
# src/pocketmine/item/Item.php
|
2020-01-31 20:11:29 +00:00 |
|
Dylan K. Taylor
|
8262633820
|
Merge commit '3b9a5c5ccc22170499b686f59ea55e8be231407a'
# Conflicts:
# resources/vanilla
# src/pocketmine/item/Item.php
|
2020-01-31 19:21:03 +00:00 |
|
Dylan K. Taylor
|
055b13a6cf
|
strip extra blank lines (php-cs-fixer)
|
2020-01-22 15:14:10 +00:00 |
|
Dylan K. Taylor
|
67bcc1c0fb
|
phpdoc armageddon for master, pass 1
|
2020-01-22 11:55:03 +00:00 |
|
Dylan K. Taylor
|
b4e6608e9f
|
Merge branch 'stable'
|
2020-01-18 20:13:54 +00:00 |
|
Dylan K. Taylor
|
0e1cea043a
|
added some phpstan-specific generic type annotations
|
2020-01-13 15:05:02 +00:00 |
|
Dylan K. Taylor
|
0f718ea28b
|
Merge commit '8726604899d1a371567141e0831ed570d3233356'
|
2019-12-25 14:19:35 +00:00 |
|
Dylan K. Taylor
|
0a4a1f634f
|
Item: fixed possible type violation in jsonDeserialize()
|
2019-12-12 20:26:26 +00:00 |
|
Dylan K. Taylor
|
137245ed7b
|
ItemFactory: fix var type doc in get()
|
2019-12-12 13:54:44 +00:00 |
|
Dylan K. Taylor
|
66aa940ed1
|
Item: fixed foreach doc comment in deserializeCompoundTag()
detected by PHPStan 0.12.0
|
2019-12-04 11:28:59 +00:00 |
|
Frago9876543210
|
37763685aa
|
LiquidBucket: add getLiquid() (#3123)
|
2019-10-04 09:34:14 +01:00 |
|
Dylan K. Taylor
|
75a2d79671
|
convert more constant interfaces to final classes, close #2885
|
2019-08-24 15:39:23 +01:00 |
|
Dylan K. Taylor
|
2d4a32fc77
|
first look at separating Entity and Location
|
2019-08-19 17:20:34 +01:00 |
|
Dylan K. Taylor
|
591d35889e
|
make use of EnumTrait->id()
|
2019-08-17 16:37:36 +01:00 |
|
Dylan K. Taylor
|
53ab860db5
|
first shot making Block not extend Position
this makes some stuff a lot less pretty, but this seems to be the bare minimum necessary to do this task. It can be enhanced later.
|
2019-08-05 16:44:09 +01:00 |
|
Dylan K. Taylor
|
1cd955c216
|
Entity: added getEyePos()
|
2019-08-02 17:29:32 +01:00 |
|
Dylan K. Taylor
|
58e9728710
|
Removing useless armour descendent classes, move armour slot to ArmorTypeInfo
|
2019-08-02 16:17:04 +01:00 |
|
Dylan K. Taylor
|
056c5ed6cd
|
ItemFactory: break down init() a little
|
2019-08-01 20:01:29 +01:00 |
|
Dylan K. Taylor
|
135a2f520c
|
add some UTF-8 validation
|
2019-08-01 19:51:31 +01:00 |
|
Dylan K. Taylor
|
399ef13069
|
WritableBookPage: add missing EOF newline
|
2019-08-01 19:39:32 +01:00 |
|
Dylan K. Taylor
|
5c95e25326
|
Enchantment: use a simple array instead of SplFixedArray
|
2019-08-01 16:03:08 +01:00 |
|
Dylan K. Taylor
|
28c9a2c0cd
|
fixed Protection enchantments being dropped from items, closes #3066
|
2019-08-01 16:02:05 +01:00 |
|
Dylan K. Taylor
|
5499ac620c
|
Removed pocketmine subdirectory, map PSR-4 style
|
2019-07-30 19:14:57 +01:00 |
|