Drakulix / ScrollsModLoader

A Mod Loader Framework for the game "Scrolls" by Mojang
www.scrollsguide.com/summoner
GNU Lesser General Public License v2.1
15 stars 9 forks source link

Clarify: What happens when calling `IInvocationInfo.TargetMethod.Invoke` #8

Closed MaPePeR closed 10 years ago

MaPePeR commented 10 years ago

Does it invoke the Method with or without executing the hooks again?

This information should be added to the wiki/tutorial.

Drakulix commented 10 years ago

You should never do that, except for Patches where necessary. Mods are rejected at least from the official repository when calling this method, as it does invoke the old method without hooks, which effectively bypasses all other mods and thats considered as bad behaviour.

MaPePeR commented 10 years ago

Thanks for the info.