Add annotation.
This commit is contained in:
@@ -28,6 +28,7 @@ public interface ICraftingManager {
|
|||||||
* @param id the id
|
* @param id the id
|
||||||
* @return the task, or null if no task was found for the given id
|
* @return the task, or null if no task was found for the given id
|
||||||
*/
|
*/
|
||||||
|
@Nullable
|
||||||
ICraftingTask getTask(UUID id);
|
ICraftingTask getTask(UUID id);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ public class CraftingManager implements ICraftingManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@Nullable
|
||||||
public ICraftingTask getTask(UUID id) {
|
public ICraftingTask getTask(UUID id) {
|
||||||
return tasks.get(id);
|
return tasks.get(id);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user