mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Cleaned up isEncoded mess
This commit is contained in:
@ -112,7 +112,6 @@ class CraftingManager{
|
||||
}
|
||||
|
||||
$pk->encode();
|
||||
$pk->isEncoded = true;
|
||||
|
||||
$this->craftingDataCache = $pk;
|
||||
Timings::$craftingDataCacheRebuildTimer->stopTiming();
|
||||
|
@ -420,7 +420,6 @@ class PlayerInventory extends BaseInventory{
|
||||
$pk->entityRuntimeId = $this->getHolder()->getId();
|
||||
$pk->slots = $armor;
|
||||
$pk->encode();
|
||||
$pk->isEncoded = true;
|
||||
|
||||
foreach($target as $player){
|
||||
if($player === $this->getHolder()){
|
||||
@ -468,7 +467,6 @@ class PlayerInventory extends BaseInventory{
|
||||
$pk->entityRuntimeId = $this->getHolder()->getId();
|
||||
$pk->slots = $armor;
|
||||
$pk->encode();
|
||||
$pk->isEncoded = true;
|
||||
|
||||
foreach($target as $player){
|
||||
if($player === $this->getHolder()){
|
||||
|
Reference in New Issue
Block a user