added readme and refactored NPC to Bot because bot sounds cooler and NPC sounds too much like Citizens and citizens yuck amirite

This commit is contained in:
batchprogrammer314
2021-06-27 00:26:45 -05:00
parent 19abd19a9d
commit 30e8ee3f82
5 changed files with 43 additions and 43 deletions

View File

@@ -1,7 +1,7 @@
package net.nuggetmc.ai;
import net.nuggetmc.ai.commands.CommandHandler;
import net.nuggetmc.ai.npc.NPCManager;
import net.nuggetmc.ai.bot.BotManager;
import org.bukkit.plugin.java.JavaPlugin;
public class PlayerAI extends JavaPlugin {
@@ -11,7 +11,7 @@ public class PlayerAI extends JavaPlugin {
private static PlayerAI instance;
private CommandHandler handler;
private NPCManager manager;
private BotManager manager;
public static PlayerAI getInstance() {
return instance;
@@ -21,7 +21,7 @@ public class PlayerAI extends JavaPlugin {
return handler;
}
public NPCManager getManager() {
public BotManager getManager() {
return manager;
}
@@ -31,7 +31,7 @@ public class PlayerAI extends JavaPlugin {
// Create Instances
this.handler = new CommandHandler(this);
this.manager = new NPCManager(this);
this.manager = new BotManager(this);
// Register all the things
this.registerEvents();