Amulet-Team / Amulet-Editor

Amulet-Map-Editor 1.0
1 stars 0 forks source link

Refactored plugin hooks #60

Closed gentlegiantJGC closed 1 year ago

gentlegiantJGC commented 1 year ago

Plugin hooks were previously global in the root module of the plugin. If we wanted to change the hook format it would have been quite difficult. This changes the plugin format so that there is one root attribute called plugin which is an instance of PluginV1. If we want to change the hook format in the future we can implement another class while still supporting the old format.