Open Endermanbugzjfc opened 1 year ago
This crash is caused as the NPCSubcommand
class adds ""
around the {player}
variable:
But SimpleNPC also adds ""
around the {player}
variable already:
Which means $args[1]
inside DialogSubcommand
is becoming PlayerName""
instead of just PlayerName
. If you remove the ""
from NPCSubcommand
the crash no longer happens and the dialog should work as intended.
This is the same issue as #2 .
This crash is caused as the
NPCSubcommand
class adds""
around the{player}
variable:But SimpleNPC also adds
""
around the{player}
variable already:Which means
$args[1]
insideDialogSubcommand
is becomingPlayerName""
instead of justPlayerName
. If you remove the""
fromNPCSubcommand
the crash no longer happens and the dialog should work as intended.This is the same issue as #2 .
Thank you.
https://crash.pmmp.io/view/8184492