From 407a3cfabed3869b38527153e8b3322a824f1263 Mon Sep 17 00:00:00 2001 From: Anthony Hilyard Date: Wed, 13 Oct 2021 22:51:23 -0700 Subject: Initial commit for 1.17.1 version. --- src/main/java/com/anthonyhilyard/iceberg/events/CriterionEvent.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/com/anthonyhilyard/iceberg/events/CriterionEvent.java') diff --git a/src/main/java/com/anthonyhilyard/iceberg/events/CriterionEvent.java b/src/main/java/com/anthonyhilyard/iceberg/events/CriterionEvent.java index fe20cec..fed7ec2 100644 --- a/src/main/java/com/anthonyhilyard/iceberg/events/CriterionEvent.java +++ b/src/main/java/com/anthonyhilyard/iceberg/events/CriterionEvent.java @@ -2,7 +2,7 @@ package com.anthonyhilyard.iceberg.events; import net.minecraftforge.event.entity.player.PlayerEvent; import net.minecraft.advancements.Advancement; -import net.minecraft.entity.player.PlayerEntity; +import net.minecraft.world.entity.player.Player; import net.minecraftforge.common.MinecraftForge; /** @@ -19,7 +19,7 @@ public class CriterionEvent extends PlayerEvent private final Advancement advancement; private final String criterionKey; - public CriterionEvent(PlayerEntity player, Advancement advancement, String criterionKey) + public CriterionEvent(Player player, Advancement advancement, String criterionKey) { super(player); this.advancement = advancement; -- cgit