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

Text Sign in SignChangeEvent HELP!

Discussion in 'Help' started by JLigght, Mar 18, 2022.

  1. JLigght

    JLigght Creeper

    Messages:
    2
    How can I get and set the text from Sign ?

    PHP:
    public function onSignChange(SignChangeEvent $event): void
        
    {
            
    $sign $event->getSign();
            
    $line $sign->getLine(0);
        }
     
    Last edited: Mar 18, 2022
  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.