Nonnull notation

This commit is contained in:
Fabrizio La Rosa 2020-07-30 16:26:05 +02:00
parent e84fa0570a
commit ab8288e4c0

View File

@ -28,6 +28,7 @@ import org.bukkit.block.Biome;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.entity.Player;
import javax.annotation.Nonnull;
import java.io.File;
import java.io.IOException;
import java.text.SimpleDateFormat;
@ -52,7 +53,7 @@ public class Island {
private int maxMembers;
private boolean deleted = false;
public Island(OfflinePlayer player) {
public Island(@Nonnull OfflinePlayer player) {
this.plugin = SkyBlock.getInstance();
FileManager fileManager = plugin.getFileManager();