Package mindustry.mod
Class DataPatcher
java.lang.Object
mindustry.mod.DataPatcher
The current implementation is awful. Consider it a proof of concept.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
patches
Currently active patches. Note that apply() should be called after modification.
-
-
Constructor Details
-
DataPatcher
public DataPatcher()
-
-
Method Details
-
apply
Applies the specified patches. If patches were already applied, the previous ones are un-applied - they do not stack!- Throws:
Exception
-
unapply
public void unapply()
-