mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-14 09:49:50 +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->blockEntityTag !== null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
public function clearCustomBlockData(){
|
public function clearCustomBlockData(){
|
||||||
$this->blockEntityTag = null;
|
$this->blockEntityTag = null;
|
||||||
return $this;
|
return $this;
|
||||||
@ -421,7 +424,7 @@ class Item implements \JsonSerializable{
|
|||||||
*
|
*
|
||||||
* @param int $count
|
* @param int $count
|
||||||
*
|
*
|
||||||
* @return Item
|
* @return $this
|
||||||
* @throws \InvalidArgumentException if trying to pop more items than are on the stack
|
* @throws \InvalidArgumentException if trying to pop more items than are on the stack
|
||||||
*/
|
*/
|
||||||
public function pop(int $count = 1) : Item{
|
public function pop(int $count = 1) : Item{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user