mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
dont send inventory every time an item was collected
This commit is contained in:
parent
9082cfbc26
commit
42d44bc7df
1 changed files with 1 additions and 1 deletions
|
|
@ -753,7 +753,7 @@ class Player{
|
||||||
$pk->target = $data["entity"]->eid;
|
$pk->target = $data["entity"]->eid;
|
||||||
$this->dataPacket($pk);
|
$this->dataPacket($pk);
|
||||||
if(($this->gamemode & 0x01) === 0x00){
|
if(($this->gamemode & 0x01) === 0x00){
|
||||||
$this->addItem($data["entity"]->type, $data["entity"]->meta, $data["entity"]->stack, true);
|
$this->addItem($data["entity"]->type, $data["entity"]->meta, $data["entity"]->stack, false);
|
||||||
}
|
}
|
||||||
switch($data["entity"]->type){
|
switch($data["entity"]->type){
|
||||||
case WOOD:
|
case WOOD:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue