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

Sting error should be $event

Discussion in 'Plugin Help' started by Выснутый, Jan 18, 2022.

?

EntityDeathEvent

  1. My mistake

    3 vote(s)
    100.0%
  2. Something else

    0 vote(s)
    0.0%
  1. Выснутый

    Выснутый Creeper

    Messages:
    1
    GitHub:
    Reared
    Help Please. When processing an event, there seem to be no errors, when the server starts, he swears that string should be $event, processed EntityDeathEvent.
    Code:
    PHP:
    public function onDeath(EntityDeathEvent $event){
     
  2. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    Send us the error
     
  3. IvanCraft623

    IvanCraft623 Baby Zombie

    Messages:
    105
    GitHub:
    IvanCraft623
    Could you check the server.log file and send the last error that appears there?
     
  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.