Vehicle Passage

I'm looking for a plugin or way to prevent the ship from going into shallow water on the world map. I'm using RPG Maker MZ with the 8-bit retro all in one pack. I'm using the plugin CGMZ_CustomVehicles but I keep getting an error message. I've attached a screenshot of the message.
"undefined" usually means that there needs to be a number value somewhere and there isn't, or it currently has a value of 0 and that's not allowed
1 - Any time you get an error, you need to press F8 and go to the Console tab, post the full error trace to get any real answers.

2 - That error message seems quite self-explanatory. It looks like the plugin you're using requires CGMZ_Utils and you don't have that installed.

@Timeline_man That's not really accurate. It doesn't have anything to do with numbers - it can be any code object that doesn't exist, and with the variety of object types in RPG Maker that's actually more likely than not to be something other than a number.

In this case, it's just a global property that would be defined if the other plugin were installed.
CGMZ_Utils is part of my CGMZ Core.

All of my plugins require CGMZ Core: https://www.caspergaming.com/plugins/cgmz/core/

You either do not have it, it is placed below other CGMZ plugins, or have an old version before I added CGMZ_Utils to the core. The current version is 1.14.0.

Original thread: https://forums.rpgmakerweb.com/threads/vehicle-passage.163498/