Display hint for patched content (#11551)

* Display hint for patched content

* Use icon for patched hint

* Add disclaimer / Use file icon

* Rename bundle key
This commit is contained in:
MinRi2
2026-01-15 07:38:31 +08:00
committed by GitHub
parent 0e684f1a32
commit 1ce9b117cc
4 changed files with 20 additions and 0 deletions

View File

@@ -62,6 +62,10 @@ public class DataPatcher{
return cont;
}
public boolean isPatched(Object object){
return usedpatches.contains(object);
}
/** Applies the specified patches. If patches were already applied, the previous ones are un-applied - they do not stack! */
public void apply(Seq<String> patchArray) throws Exception{
if(applied){