mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-05 17:41:46 +00:00
Merge branch '3.5' into 3.6
This commit is contained in:
commit
30b49e0d22
@ -318,7 +318,7 @@ class ItemFactory{
|
|||||||
$listed = self::$list[self::getListOffset($id)];
|
$listed = self::$list[self::getListOffset($id)];
|
||||||
if($listed !== null){
|
if($listed !== null){
|
||||||
$item = clone $listed;
|
$item = clone $listed;
|
||||||
}elseif($id < 256){ //intentionally includes negatives, for extended block IDs
|
}elseif($id >= 0 and $id < 256){ //intentionally excludes negatives because extended blocks aren't supported yet
|
||||||
/* Blocks must have a damage value 0-15, but items can have damage value -1 to indicate that they are
|
/* Blocks must have a damage value 0-15, but items can have damage value -1 to indicate that they are
|
||||||
* crafting ingredients with any-damage. */
|
* crafting ingredients with any-damage. */
|
||||||
$item = new ItemBlock($id, $meta);
|
$item = new ItemBlock($id, $meta);
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 0c00c4f3b9de1b6b0866cab79a66a91182ae5405
|
Subproject commit b9247957dad663760f22842836844cfcd4b0c03e
|
Loading…
x
Reference in New Issue
Block a user