SPIGOT-2540: Add nullability annotations to entire Bukkit API
By: Darkyenus <darkyenus@gmail.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package org.bukkit.command;
|
||||
|
||||
import org.bukkit.block.Block;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public interface BlockCommandSender extends CommandSender {
|
||||
|
||||
@@ -9,5 +10,6 @@ public interface BlockCommandSender extends CommandSender {
|
||||
*
|
||||
* @return Block for the command sender
|
||||
*/
|
||||
@NotNull
|
||||
public Block getBlock();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user