Cleaned up isEncoded mess

This commit is contained in:
Dylan K. Taylor
2017-07-13 12:21:26 +01:00
parent 6341d3a0dc
commit 3a214b7ce6
5 changed files with 1 additions and 6 deletions

View File

@ -112,7 +112,6 @@ class CraftingManager{
}
$pk->encode();
$pk->isEncoded = true;
$this->craftingDataCache = $pk;
Timings::$craftingDataCacheRebuildTimer->stopTiming();

View File

@ -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()){