mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
small tweaks
This commit is contained in:
parent
a7ebdb35bd
commit
c3750014a9
4 changed files with 5 additions and 6 deletions
|
|
@ -1747,7 +1747,7 @@ class Player{
|
|||
}elseif($s->getID() !== AIR and $slot->getID() !== AIR and ($slot->getID() !== $s->getID() or $slot->getMetadata() !== $s->getMetadata()) and ($sl = $this->hasItem($s->getID())) !== false){
|
||||
$item = $this->armor[$i];
|
||||
$this->armor[$i] = $this->getSlot($sl);
|
||||
$this->setSlot($sl, $item, true);
|
||||
$this->setSlot($sl, $item, false);
|
||||
}else{
|
||||
$packet->slots[$i] = 255;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue