"HideCharacters method" delete

Hi guys, so last day a had a problem with a outdated plugin when I tried to use the "battle test", and looking at the console log we can see that the plugin had problems trying to operate with a line of code I deleted (I deleted the "HideCharacters method" in the "rpg_scenes.js" file cause I hate when all the event sprites disappears in battle transitions)
Sem título2.png

So I was wandering: can it cause more bugs later and It's better to find another work around for this issue with the missing events at battle transitions or it was only the outdated plugin that was causing this issue?
PS: I already updated the YEP_CoreEngine... 😛
I deleted the "HideCharacters method" in the "rpg_scenes.js" file cause I hate when all the event sprites disappears in battle transitions
That is a VERY bad idea on what to do for several reasons.

First, all changes should be done by plugin, NOT by editing the core files.
If the core files are changed, that means either you'll never be able to update your project core or that you'll have to re-do the edit every time you update it - and the updates contain other changes.
On the other hand a plugin can override any method and that will work with other core changes unless it's exactly that method that got changed in the core update.

Second, that question is like "will the building crash if I delete one of its walls?" - it depends on what that wall does, but it will always cause problems.
An override (for example one that replaces the function with another one of the same name that simply does nothing) is much safer in that regard, as long as the plugin programmer knows what he's doing.
Thx friend, I'll look for a plugin for it right now! 🙂

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/hidecharacters-method-delete.108766/