remove wrong annotation. and for some reason the javax one is missing for me

This commit is contained in:
Flemmli97 2021-03-10 19:43:24 +01:00
parent 79d5311498
commit 3e944f6477

View File

@ -1,6 +1,5 @@
package com.flemmli97.flan.api; package com.flemmli97.flan.api;
import com.sun.istack.internal.Nullable;
import net.fabricmc.fabric.api.event.Event; import net.fabricmc.fabric.api.event.Event;
import net.fabricmc.fabric.api.event.EventFactory; import net.fabricmc.fabric.api.event.EventFactory;
import net.minecraft.server.network.ServerPlayerEntity; import net.minecraft.server.network.ServerPlayerEntity;
@ -31,5 +30,5 @@ public interface ClaimPermissionEvent {
* @param pos The block pos where the action is occuring * @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 * @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);
} }