Document apiVersion and reset it to 1 since everything changed

This commit is contained in:
Vincent Lee committed 2020-04-03 19:22:22 -05:00
1 parent 0bfbaad6ff
commit 8df91b07cc
2 files changed
+4 -1

No files matched your search

@@ -49,6 +49,9 @@ public interface BotaniaAPI {
return INSTANCE.getValue();
}
/**
* @return A unique version number for this version of the API. When anything is added, this number will be incremented
*/
default int apiVersion() {
return 0;
}
@@ -147,7 +147,7 @@ public class BotaniaAPIImpl implements BotaniaAPI {
@Override
public int apiVersion() {
return 94;
return 1;
}
@Override