9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2026-01-04 15:41:30 +00:00

fix biome colors

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

View File

@@ -36,6 +36,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;
}