The procedure "get nearest entity at x y z of type mob" inserted into "deal damage to" crashes the game

Published by lemonke on Fri, 07/31/2020 - 11:47
Works as designed
Issue description

The image of the procedure explains it better than the title

Issue comments

The nearest entity can be null (undefined) if there is no nearest entity with conditions found so you need to always check if there is an entity near first before doing anything with it.

Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.