Mikarific / InfiniteCraftHelper

A script that adds various useful features to Infinite Craft.
MIT License
49 stars 15 forks source link

Add a null check for selectedInstance #17

Open Natasquare opened 4 months ago

Natasquare commented 4 months ago

When you delete an instance with right click and trigger the mouseup event before the scale animation has finished playing, the script will try to check for selectedInstance.hasMoved. But since it's already set to null, an ugly error gets thrown into the console.