1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

ShapedRecipe: translation for old plugin

Discussion in 'Plugin Help' started by benda95280, Jul 19, 2019.

  1. benda95280

    benda95280 Witch

    Messages:
    53
    GitHub:
    benda95280
    Hello,

    Anyone know how i could translate this (ShapedRecipe) :
    PHP:
    $this->getServer()->getCraftingManager()->registerRecipe((new ShapedRecipe($ssb33))->addIngredient(11$ep)->addIngredient(12Item::get(1650)));
    I haven't been able to found equivalent for ShapedRecipe.
    The error is the same as many people over this forum and internet: Array needed, but Object send...

    Thanks.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.