Fix incorrect nullability in MultipleFacing

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2020-02-21 13:34:56 +11:00
parent 11a4d6693e
commit 225dd2a6c6

View File

@ -3,7 +3,6 @@ package org.bukkit.block.data;
import java.util.Set; import java.util.Set;
import org.bukkit.block.BlockFace; import org.bukkit.block.BlockFace;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/** /**
* This class encompasses the 'north', 'east', 'south', 'west', 'up', 'down' * This class encompasses the 'north', 'east', 'south', 'west', 'up', 'down'
@ -29,7 +28,7 @@ public interface MultipleFacing extends BlockData {
* @param face to set * @param face to set
* @param has the face * @param has the face
*/ */
void setFace(@Nullable BlockFace face, boolean has); void setFace(@NotNull BlockFace face, boolean has);
/** /**
* Get all of the faces which are enabled on this block. * Get all of the faces which are enabled on this block.