mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
Fix incorrect nullability in MultipleFacing
This commit is contained in:
parent
6af4c0b2cc
commit
f52c70ab17
1 changed files with 1 additions and 2 deletions
|
@ -3,7 +3,6 @@ package org.bukkit.block.data;
|
|||
import java.util.Set;
|
||||
import org.bukkit.block.BlockFace;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
* This class encompasses the 'north', 'east', 'south', 'west', 'up', 'down'
|
||||
|
@ -29,7 +28,7 @@ public interface MultipleFacing extends BlockData {
|
|||
* @param face to set
|
||||
* @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.
|
||||
|
|
Loading…
Add table
Reference in a new issue