mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-07 08:47:35 +01:00
Fix incorrect nullability in MultipleFacing
By: md_5 <git@md-5.net>
This commit is contained in:
parent
11a4d6693e
commit
225dd2a6c6
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user