Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

brewing stand

Comments in 'Plugin Development' started by Creeperface, Nov 28, 2015.

  1. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    ok brewing doesn't work again :D so why onUpdate() method doesn't run?
  2. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Did you register both block and item?
  3. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    yes placing and breaking work well. i registered tile too but..
  4. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    maybe i solved it! :D
    i forgot add this in BrewingInventory class :D

    PHP:
    public function onSlotChange($index$before){
            
    parent::onSlotChange($index$before);

            
    $this->getHolder()->scheduleUpdate();
        }
    PEMapModder likes this.
  5. SlowByStep
    Offline

    SlowByStep New Member

    Joined:
    Nov 4, 2015
    Posts:
    14
    Minecraft User:
    PandaYTB
    Pls post code source with new modification? :)

Share This Page

Advertisement