mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-22 10:36:10 +01:00
Java 6 source compat
This commit is contained in:
parent
0a6b954976
commit
40e80c074d
@ -161,7 +161,9 @@ public class EntityHumanNPC extends EntityPlayer implements NPCHolder, Skinnable
|
||||
private void clearProgress(AdvancementProgress progress) {
|
||||
try {
|
||||
PROGRESS_TRACKER_FIELD.set(progress, EMPTY_PROGRESS);
|
||||
} catch (IllegalArgumentException | IllegalAccessException e) {
|
||||
} catch (IllegalArgumentException e) {
|
||||
e.printStackTrace();
|
||||
} catch (IllegalAccessException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user