diff --git a/.gitignore b/.gitignore index ae6d66ba7..e485f23dd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ /bin /build +/target .classpath .project Citizens.jar \ No newline at end of file diff --git a/build.xml b/build.xml new file mode 100644 index 000000000..5960b3aed --- /dev/null +++ b/build.xml @@ -0,0 +1,41 @@ + + + Citizens build file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/lib/CitizensAPI.jar b/lib/CitizensAPI.jar index 065dc1123..07b93b917 100644 Binary files a/lib/CitizensAPI.jar and b/lib/CitizensAPI.jar differ diff --git a/lib/bukkit.jar b/lib/bukkit-1.1-R1-SNAPSHOT.jar similarity index 100% rename from lib/bukkit.jar rename to lib/bukkit-1.1-R1-SNAPSHOT.jar diff --git a/lib/craftbukkit.jar b/lib/craftbukkit-1.1-R1-SNAPSHOT.jar similarity index 100% rename from lib/craftbukkit.jar rename to lib/craftbukkit-1.1-R1-SNAPSHOT.jar diff --git a/plugin.yml b/plugin.yml new file mode 100644 index 000000000..57a83cb3b --- /dev/null +++ b/plugin.yml @@ -0,0 +1,4 @@ +name: Citizens +authors: [aPunch, fullwall] +version: 2.0 +main: net.citizensnpcs.Citizens \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 000000000..c49fa7662 --- /dev/null +++ b/pom.xml @@ -0,0 +1,108 @@ + + + + 4.0.0 + + net.citizensnpcs + citizens + 2.0 + Citizens + + + UTF-8 + 1.1-R1-SNAPSHOT + Unknown + + + + + bukkit-repo + http://repo.bukkit.org/content/groups/repo/ + + + citizensapi-repo + + http://repo.citizensnpcs.net/content/groups/repo/ + + + + + + org.bukkit + craftbukkit + ${craftbukkit.version} + jar + provided + + + net.citizensnpcs + citizensapi + 2.0 + jar + compile + + + + + clean + ${basedir}/src + + + + . + false + ${basedir} + + + . + false + ${basedir}/src + + plugin.yml + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.3.2 + + 1.6 + 1.6 + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.3.2 + + + + org.apache.maven.plugins + maven-shade-plugin + 1.5 + + + package + + shade + + + + + net.citizensnpcs:* + + + + + + + + + + \ No newline at end of file diff --git a/src/net/citizensnpcs/npc/CitizensNPC.java b/src/net/citizensnpcs/npc/CitizensNPC.java index dfba7b1fd..40b74e46d 100644 --- a/src/net/citizensnpcs/npc/CitizensNPC.java +++ b/src/net/citizensnpcs/npc/CitizensNPC.java @@ -3,7 +3,7 @@ package net.citizensnpcs.npc; import java.util.HashSet; import java.util.Set; -import net.citizensnpcs.api.Citizens; +import net.citizensnpcs.api.CitizensAPI; import net.citizensnpcs.api.event.NPCDespawnEvent; import net.citizensnpcs.api.event.NPCSpawnEvent; import net.citizensnpcs.api.npc.trait.Character; @@ -32,7 +32,7 @@ public class CitizensNPC implements NPC { for (Trait trait : traits) { this.traits.add(trait); } - manager = (CitizensNPCManager) Citizens.getNPCManager(); + manager = (CitizensNPCManager) CitizensAPI.getNPCManager(); id = manager.getUniqueID(); }