From 3e944f647771dcee3f40309916e0f746f1d63f37 Mon Sep 17 00:00:00 2001 From: Flemmli97 Date: Wed, 10 Mar 2021 19:43:24 +0100 Subject: [PATCH] remove wrong annotation. and for some reason the javax one is missing for me --- src/main/java/com/flemmli97/flan/api/ClaimPermissionEvent.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/flemmli97/flan/api/ClaimPermissionEvent.java b/src/main/java/com/flemmli97/flan/api/ClaimPermissionEvent.java index 46fbd0e..306d5a3 100644 --- a/src/main/java/com/flemmli97/flan/api/ClaimPermissionEvent.java +++ b/src/main/java/com/flemmli97/flan/api/ClaimPermissionEvent.java @@ -1,6 +1,5 @@ package com.flemmli97.flan.api; -import com.sun.istack.internal.Nullable; import net.fabricmc.fabric.api.event.Event; import net.fabricmc.fabric.api.event.EventFactory; import net.minecraft.server.network.ServerPlayerEntity; @@ -31,5 +30,5 @@ public interface ClaimPermissionEvent { * @param pos The block pos where the action is occuring * @return ActionResult#PASS to do nothing. ActionResult#FAIL to prevent the action. Else to allow the action */ - ActionResult check(@Nullable ServerPlayerEntity player, ClaimPermission permission, BlockPos pos); + ActionResult check(ServerPlayerEntity player, ClaimPermission permission, BlockPos pos); }