Skip to content

Commit 2a5fdca

Browse files
author
TheProgramSrc
committed
Removed Unused Update Checker and Updated CHANGELOG.md
1 parent 3c7b7f1 commit 2a5fdca

File tree

2 files changed

+10
-14
lines changed

2 files changed

+10
-14
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## v4.2.9 Changelog:
2+
```
3+
* Now SimpleItem#getDisplayName() and SimpleItem#getLore() doesn't return null to avoid errors
4+
```
5+
6+
## v4.2.8 Changelog:
7+
```
8+
* Fixed SimpleItem not applying placeholders
9+
```
10+
111
## v4.2.7 Changelog:
212
```
313
+ Added more checks to the SkinTexture to avoid errors

src/main/java/xyz/theprogramsrc/supercoreapi/spigot/SpigotPlugin.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import xyz.theprogramsrc.supercoreapi.global.dependencies.classloader.ReflectionClassLoader;
1414
import xyz.theprogramsrc.supercoreapi.global.translations.Base;
1515
import xyz.theprogramsrc.supercoreapi.global.translations.TranslationManager;
16-
import xyz.theprogramsrc.supercoreapi.global.updater.SpigotUpdateChecker;
1716
import xyz.theprogramsrc.supercoreapi.global.utils.Utils;
1817
import xyz.theprogramsrc.supercoreapi.spigot.events.EventManager;
1918
import xyz.theprogramsrc.supercoreapi.spigot.items.PreloadedItems;
@@ -272,19 +271,6 @@ public PluginDataStorage getPluginDataStorage() {
272271
return this.pluginDataStorage;
273272
}
274273

275-
public void checkCoreUpdates(){
276-
new SpigotUpdateChecker("77096"){
277-
@Override
278-
public void onCheckFail() { }
279-
280-
@Override
281-
public void onCheckSuccess(String lastVersion) {
282-
SpigotPlugin.this.log("&c&lThis is not an error, this is a warning for the plugin developer that the SuperCoreAPI is outdated");
283-
SpigotPlugin.this.log("Please update SuperCoreAPI to v" + lastVersion);
284-
}
285-
}.check();
286-
}
287-
288274
/**
289275
* Registers a new custom recipe
290276
*

0 commit comments

Comments
 (0)