Event Hander on_chat_event no longer working in 1.18.32
The on_chat_event Event Handler no longer works in the most recent Minecraft EE, 1.18.32.
The following example worked fine in version 1.17.32:
def getpiglin():
summon("piglin", (763, 64, 138))
on_chat_event("here piggy", getpiglin)
However in version 1.18.32, it results in the following message, which reference to the specified string:
TypeError: 'here piggy' is not a callable object
Can this be fixed, or is there a different way that this event handler now needs to be called?
0
-
So Jenny Goding the parameter switch fixes this for you? Just making sure =]
0 -
Hi Debbie,
Sorry, I forgot to reply - yes, it's all working perfectly now, with the parameter switch :-)
0
Please sign in to leave a comment.
Comments
2 comments