Player: remove sendDataPacket()

This commit is contained in:
Dylan K. Taylor
2019-08-20 15:50:34 +01:00
parent 965177fb74
commit 6b22f68674
6 changed files with 16 additions and 31 deletions

View File

@ -167,6 +167,6 @@ class CraftingTransaction extends InventoryTransaction{
* So people don't whine about messy desync issues when someone cancels CraftItemEvent, or when a crafting
* transaction goes wrong.
*/
$this->source->sendDataPacket(ContainerClosePacket::create(ContainerIds::NONE));
$this->source->getNetworkSession()->sendDataPacket(ContainerClosePacket::create(ContainerIds::NONE));
}
}