I have installed project korra in the plugin folder and when I load it, it sort of works because whne I type stuff like /bending help than it worked but when I typed /bending choose fire it gives me an error. Is that because I use glowstone instead of craftbukkit?(craftbukkit is gone becouse of the DCMA takedown)
here is the error:
00:20:40 [WARNING] java.lang.NullPointerException
00:20:40 [WARNING] at com.projectkorra.ProjectKorra.Storage.Database.tableE
xists(Database.java:116)
00:20:40 [WARNING] at com.projectkorra.ProjectKorra.DBConnection.init(DBCon
nection.java:66)
00:20:40 [WARNING] at com.projectkorra.ProjectKorra.ProjectKorra.onEnable(P
rojectKorra.java:50)
00:20:40 [WARNING] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
in.java:316)
00:20:40 [WARNING] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
JavaPluginLoader.java:324)
00:20:40 [WARNING] at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
mplePluginManager.java:404)
00:20:40 [WARNING] at net.glowstone.GlowServer.enablePlugins(GlowServer.jav
a:624)
00:20:40 [WARNING] at net.glowstone.GlowServer.start(GlowServer.java:423)
00:20:40 [WARNING] at net.glowstone.GlowServer.main(GlowServer.java:92)
00:20:40 [INFO] [ProjectKorra] Creating pk_players table.
00:20:40 [SEVERE] Error occurred while enabling ProjectKorra v1.4.0 (Is it up to
date?)
java.lang.NullPointerException
at com.projectkorra.ProjectKorra.Storage.Database.modifyQuery(Database.j
ava:81)
at com.projectkorra.ProjectKorra.DBConnection.init(DBConnection.java:83)
at com.projectkorra.ProjectKorra.ProjectKorra.onEnable(ProjectKorra.java
:50)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
.java:324)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
r.java:404)
at net.glowstone.GlowServer.enablePlugins(GlowServer.java:624)
at net.glowstone.GlowServer.start(GlowServer.java:423)
at net.glowstone.GlowServer.main(GlowServer.java:92)
00:20:40 [INFO] Binding to address: 0.0.0.0/0.0.0.0:25565...
00:20:41 [INFO] Ready for connections.
00:21:54 [INFO] bukworst [/25.120.11.83:53886] connected, UUID: c02bbb13-4c91-46
60-ada0-420f01e6dd14
00:21:55 [INFO] bukworst joined the game
00:22:00 [INFO] bukworst earned achievement [OPEN_INVENTORY]
00:22:10 [INFO] bukworst issued command: /bending
00:22:18 [INFO] bukworst issued command: /bending choose fire
00:22:18 [SEVERE] Exception while executing command: /bending choose fire
org.bukkit.command.CommandException: Unhandled exception executing command 'bend
ing' in plugin ProjectKorra v1.4.0
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:18
0)
at net.glowstone.GlowServer.dispatchCommand(GlowServer.java:930)
at net.glowstone.entity.GlowPlayer$2.run(GlowPlayer.java:1267)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at net.glowstone.scheduler.GlowTask.run(GlowTask.java:163)
at net.glowstone.scheduler.GlowScheduler.pulse(GlowScheduler.java:182)
at net.glowstone.scheduler.GlowScheduler.access$100(GlowScheduler.java:2
5)
at net.glowstone.scheduler.GlowScheduler$2.run(GlowScheduler.java:111)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.projectkorra.ProjectKorra.Commands$1.onCommand(Commands.java:1065
)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
... 16 more