Skip to content
This repository has been archived by the owner on Aug 5, 2019. It is now read-only.

Commit

Permalink
Removed Pail, stared confused at NetBeans
Browse files Browse the repository at this point in the history
  • Loading branch information
iffamies committed Apr 21, 2013
1 parent e2bcf17 commit 7408984
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 1,803 deletions.
8 changes: 0 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,6 @@
<version>1.5.1-R0.1-SNAPSHOT</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>me.escapeNT</groupId>
<artifactId>Pail</artifactId>
<version>lol</version>
<!-- Because we don't have a repo for this dep! -->
<scope>system</scope>
<systemPath>${project.basedir}/libs/Pail.jar</systemPath>
</dependency>
<dependency>
<groupId>com.nijikokun</groupId>
<artifactId>Register</artifactId>
Expand Down
12 changes: 0 additions & 12 deletions src/main/java/me/iffa/bspace/Space.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,13 @@
import java.util.Map;
import java.util.logging.Level;

// Pail Imports
import me.escapeNT.pail.Pail;

// bSpace Imports
import me.iffa.bspace.api.SpaceAddon;
import me.iffa.bspace.api.schematic.SpaceSchematicHandler;
import me.iffa.bspace.commands.SpaceCommandHandler;
import me.iffa.bspace.config.SpaceConfig;
import me.iffa.bspace.config.SpaceConfigUpdater;
import me.iffa.bspace.economy.Economy;
import me.iffa.bspace.gui.PailInterface;
import me.iffa.bspace.handlers.AddonHandler;
import me.iffa.bspace.handlers.ConfigHandler;
import me.iffa.bspace.handlers.LangHandler;
Expand Down Expand Up @@ -56,7 +52,6 @@ public class Space extends JavaPlugin {
// Variables
private static String prefix;
private static String version;
private static PailInterface pailInterface;
private static Map<Player, Location> locCache = null;
private static Map<Player, Boolean> jumpPressed = new HashMap<Player, Boolean>();
private PluginManager pm;
Expand Down Expand Up @@ -126,13 +121,6 @@ public void onEnable() {
}
}

// Initializing the Pail tab.
if (pm.getPlugin("Pail") != null) {
MessageHandler.debugPrint(Level.INFO, "Starting up the Pail tab.");
pailInterface = new PailInterface(this);
((Pail) pm.getPlugin("Pail")).loadInterfaceComponent("bSpace", pailInterface);
}

// Finishing up enablation.
MessageHandler.print(Level.INFO, LangHandler.getUsageStatsMessage());
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ public void command() {
getSender().sendMessage(ChatColor.GRAY + " /space help - Brings up this help message");
getSender().sendMessage(ChatColor.GRAY + " /space about [credits] - About bSpace");
getSender().sendMessage(ChatColor.GRAY + "If you have questions, please visit " + ChatColor.GOLD + "bit.ly/banspace" + ChatColor.GRAY + "!");
getSender().sendMessage(ChatColor.GRAY + "...or if you prefer IRC, #iffa or #bananacode (Espernet)");
//getSender().sendMessage(ChatColor.GRAY + "...or if you prefer IRC, #iffa or #bananacode (Espernet)");
}
}
817 changes: 0 additions & 817 deletions src/main/java/me/iffa/bspace/gui/PailInterface.form

This file was deleted.

963 changes: 0 additions & 963 deletions src/main/java/me/iffa/bspace/gui/PailInterface.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// Java Imports
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
Expand Down Expand Up @@ -141,6 +140,7 @@ public byte[][] generateBlockSections(World world, java.util.Random random, int
}
} else {
ArrayList<MaterialData> list = new ArrayList<MaterialData>(curPl.coreBlkIds);
// this confuses me too much. this part is setting core blocks, right? how is it "random"?
MaterialData get = list.get(random.nextInt(list.size()));
setBlock(retVal, chunkX, worldY, chunkZ, (byte) get.getItemTypeId());
if (get.getData() != 0) { //Has data
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jenkins-url: http://ci.chrisgward.com/jobs/bSpace
# Load on startup for bukkit.yml, and all that support
load: startup
version: 'v2.5-dev'
softdepend: [Spout, Pail, Register]
softdepend: [Spout, Register]
# Commands
commands:
space:
Expand Down
Binary file modified target/bSpace-v2.5-dev.jar
Binary file not shown.

0 comments on commit 7408984

Please sign in to comment.