mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 02:38:54 +00:00
as always, missed one - I blame PhpStorm
This commit is contained in:
parent
2bba3a0805
commit
950465d283
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user