mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 13:09:44 +00:00
fixed target eid being incorrect in TakeItemPacket after converting
This commit is contained in:
parent
5fb979cb2d
commit
26fc61d3c0
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ class TakeItemEntityPacket extends RakNetDataPacket{
|
||||||
if(!$this->localEids){
|
if(!$this->localEids){
|
||||||
$this->localEids = true;
|
$this->localEids = true;
|
||||||
$this->eid = $p->global2localEID[$this->eid] ?? false;
|
$this->eid = $p->global2localEID[$this->eid] ?? false;
|
||||||
$this->target = $p->global2localEID[$this->eid] ?? false;
|
$this->target = $p->global2localEID[$this->target] ?? false;
|
||||||
if($this->eid === false || $this->target === false) return false;
|
if($this->eid === false || $this->target === false) return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue