Adding 1.15 support
Dieser Commit ist enthalten in:
Ursprung
ceee166920
Commit
359e668425
@ -13,7 +13,9 @@ public class Core extends JavaPlugin{
|
|||||||
|
|
||||||
static{
|
static{
|
||||||
String packageName = Bukkit.getServer().getClass().getPackage().getName();
|
String packageName = Bukkit.getServer().getClass().getPackage().getName();
|
||||||
if(packageName.contains("1_14"))
|
if(packageName.contains("1_15"))
|
||||||
|
version = 15;
|
||||||
|
else if(packageName.contains("1_14"))
|
||||||
version = 14;
|
version = 14;
|
||||||
else if(packageName.contains("1_10"))
|
else if(packageName.contains("1_10"))
|
||||||
version = 10;
|
version = 10;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren