as always, missed one - I blame PhpStorm

This commit is contained in:
Dylan K. Taylor 2018-07-05 13:35:04 +01:00
parent 2bba3a0805
commit 950465d283

View File

@ -118,7 +118,7 @@ class CraftingDataPacket extends DataPacket{
$this->getBool(); //cleanRecipes
}
private static function writeEntry($entry, NetworkBinaryStream $stream){
private static function writeEntry($entry, NetworkBinaryStream $stream) : int{
if($entry instanceof ShapelessRecipe){
return self::writeShapelessRecipe($entry, $stream);
}elseif($entry instanceof ShapedRecipe){