You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For modifiers, you cannot save/load data by item instance (see default methods)
Proposed change is to have save/load accept the item instance
Currently sealed hooks should be made available (where applicable) with proper implementation. For example WingUpdate should be available.
The tML clone method will not work, its signature differs from the ICloneable one: public sealed override GlobalItem Clone(Item item, Item itemClone) => base.Clone(item, itemClone);
It should be reimplemented
Modders' save and load should keep bad code in mind (exceptions), proposed is to surround them in a try - catch.
The text was updated successfully, but these errors were encountered:
For modifiers, you cannot save/load data by item instance (see default methods)
Proposed change is to have save/load accept the item instance
Currently sealed hooks should be made available (where applicable) with proper implementation. For example
WingUpdate
should be available.The tML clone method will not work, its signature differs from the ICloneable one:
public sealed override GlobalItem Clone(Item item, Item itemClone) => base.Clone(item, itemClone);
It should be reimplemented
Modders' save and load should keep bad code in mind (exceptions), proposed is to surround them in a try - catch.
The text was updated successfully, but these errors were encountered: