mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 00:39:45 +00:00
Merge branch 'stable'
This commit is contained in:
commit
b4e6608e9f
@ -127,6 +127,9 @@ class Item implements \JsonSerializable{
|
||||
return $this->blockEntityTag !== null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return $this
|
||||
*/
|
||||
public function clearCustomBlockData(){
|
||||
$this->blockEntityTag = null;
|
||||
return $this;
|
||||
@ -421,7 +424,7 @@ class Item implements \JsonSerializable{
|
||||
*
|
||||
* @param int $count
|
||||
*
|
||||
* @return Item
|
||||
* @return $this
|
||||
* @throws \InvalidArgumentException if trying to pop more items than are on the stack
|
||||
*/
|
||||
public function pop(int $count = 1) : Item{
|
||||
|
Loading…
x
Reference in New Issue
Block a user