Fixed HerobrineAI folder being generated even though it should not have been
Fixed version strings in HerobrineAI
This commit is contained in:
parent
8d212b3551
commit
04923d1128
@ -92,7 +92,7 @@ public class ConfigDB {
|
|||||||
public File npcF = new File("plugins/Herobrine/npc.yml");
|
public File npcF = new File("plugins/Herobrine/npc.yml");
|
||||||
|
|
||||||
public void Startup() {
|
public void Startup() {
|
||||||
new File("plugins/HerobrineAI").mkdirs();
|
new File("plugins/Herobrine").mkdirs();
|
||||||
|
|
||||||
if (!configF.exists())
|
if (!configF.exists())
|
||||||
try {
|
try {
|
||||||
|
@ -53,7 +53,7 @@ public class HerobrineAI extends JavaPlugin implements Listener {
|
|||||||
|
|
||||||
public static String versionStr = "UNDEFINED";
|
public static String versionStr = "UNDEFINED";
|
||||||
public static boolean isNPCDisabled = false;
|
public static boolean isNPCDisabled = false;
|
||||||
public static String bukkit_ver_string = "1.11.1";
|
public static String bukkit_ver_string = "1.14.4";
|
||||||
public static int HerobrineHP = 200;
|
public static int HerobrineHP = 200;
|
||||||
public static int HerobrineMaxHP = 200;
|
public static int HerobrineMaxHP = 200;
|
||||||
public static final boolean isDebugging = false;
|
public static final boolean isDebugging = false;
|
||||||
@ -72,7 +72,7 @@ public class HerobrineAI extends JavaPlugin implements Listener {
|
|||||||
boolean errorCheck = true;
|
boolean errorCheck = true;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Class.forName("net.minecraft.server.v1_11_R1.Entity");
|
Class.forName("net.minecraft.server.v1_14_R1.EntityTypes");
|
||||||
} catch (ClassNotFoundException e) {
|
} catch (ClassNotFoundException e) {
|
||||||
errorCheck = false;
|
errorCheck = false;
|
||||||
isInitDone = false;
|
isInitDone = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user