Java 6 source compat

This commit is contained in:
fullwall 2017-08-22 21:18:06 +08:00
parent 0a6b954976
commit 40e80c074d

View File

@ -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();
}
}