1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00

annotation

This commit is contained in:
iTwins 2023-09-07 05:41:25 +02:00
parent 051c51915e
commit 9c5114f9c2

View File

@ -266,6 +266,7 @@ public class BlockListener implements Listener {
* @return
* Whether the {@link BlockData} would be supported at the given {@link Block}
*/
@ParametersAreNonnullByDefault
private boolean isSupported(BlockData blockData, Block block) {
if (Slimefun.getMinecraftVersion().isAtLeast(MinecraftVersion.MINECRAFT_1_19)) {
return blockData.isSupported(block);