9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-28 19:49:06 +00:00

Merge branch 'v3.4.3' into iris4

This commit is contained in:
Julian Krings
2024-08-18 17:06:06 +02:00
9 changed files with 245 additions and 67 deletions

View File

@@ -54,6 +54,18 @@ public class WrappedField<C, T> {
}
}
public void set(T value) throws IllegalAccessException {
set(null, value);
}
public void set(C instance, T value) throws IllegalAccessException {
if (field == null) {
return;
}
field.set(instance, value);
}
public boolean hasFailed() {
return field == null;
}