Add annotation.

This commit is contained in:
raoulvdberge
2018-06-19 23:39:11 +02:00
parent 2f0b01b262
commit f5b59e3bf4
2 changed files with 2 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ public interface ICraftingManager {
* @param id the id
* @return the task, or null if no task was found for the given id
*/
@Nullable
ICraftingTask getTask(UUID id);
/**

View File

@@ -50,6 +50,7 @@ public class CraftingManager implements ICraftingManager {
}
@Override
@Nullable
public ICraftingTask getTask(UUID id) {
return tasks.get(id);
}