aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/anthonyhilyard/iceberg/events/CriterionEvent.java
diff options
context:
space:
mode:
authorAnthony Hilyard <anthony.hilyard@gmail.com>2021-10-13 22:51:23 -0700
committerAnthony Hilyard <anthony.hilyard@gmail.com>2021-10-13 22:51:23 -0700
commit407a3cfabed3869b38527153e8b3322a824f1263 (patch)
tree06909dc024d048e999354a0c7102a57bccf32ef8 /src/main/java/com/anthonyhilyard/iceberg/events/CriterionEvent.java
parent0eb0e8504684ad9e7bdae99a54de618809cee8d4 (diff)
downloadIceberg-407a3cfabed3869b38527153e8b3322a824f1263.tar.gz
Iceberg-407a3cfabed3869b38527153e8b3322a824f1263.tar.bz2
Iceberg-407a3cfabed3869b38527153e8b3322a824f1263.zip
Initial commit for 1.17.1 version.
Diffstat (limited to 'src/main/java/com/anthonyhilyard/iceberg/events/CriterionEvent.java')
-rw-r--r--src/main/java/com/anthonyhilyard/iceberg/events/CriterionEvent.java4
1 files changed, 2 insertions, 2 deletions
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;