aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/shcm/shsupercm/fabric/citresewn/cit/CITContext.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/shcm/shsupercm/fabric/citresewn/cit/CITContext.java')
-rw-r--r--src/main/java/shcm/shsupercm/fabric/citresewn/cit/CITContext.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/shcm/shsupercm/fabric/citresewn/cit/CITContext.java b/src/main/java/shcm/shsupercm/fabric/citresewn/cit/CITContext.java
index 0a44915..b2df80a 100644
--- a/src/main/java/shcm/shsupercm/fabric/citresewn/cit/CITContext.java
+++ b/src/main/java/shcm/shsupercm/fabric/citresewn/cit/CITContext.java
@@ -11,7 +11,6 @@ import net.minecraft.nbt.NbtElement;
import net.minecraft.util.Identifier;
import net.minecraft.world.World;
-import blue.endless.jankson.annotation.Nullable;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Objects;
@@ -33,7 +32,6 @@ public class CITContext {
/**
* The item's associated living entity if present. (null if not relevant)
*/
- @Nullable
public final LivingEntity entity;
/**
@@ -42,7 +40,7 @@ public class CITContext {
*/
private Map<Identifier, Integer> enchantments = null;
- public CITContext(ItemStack stack, @Nullable World world, @Nullable LivingEntity entity) {
+ public CITContext(ItemStack stack, World world, LivingEntity entity) {
this.stack = stack;
this.world = world == null ? MinecraftClient.getInstance().world : world;
this.entity = entity;