Permalink
Browse files

Updated for 1.1-R4-SNAPSHOT.

  • Loading branch information...
1 parent ff86cd2 commit be8281279ab95cd750bd4cc71835aa8c1dca68b3 @EvilSeph EvilSeph committed Feb 3, 2012
Showing with 4 additions and 11 deletions.
  1. +1 −1 pom.xml
  2. +3 −10 src/main/java/com/dinnerbone/bukkit/scrap/ScrapBukkit.java
View
@@ -22,7 +22,7 @@
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
- <version>0.0.1-SNAPSHOT</version>
+ <version>1.1-R4-SNAPSHOT</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
@@ -1,4 +1,3 @@
-
package com.dinnerbone.bukkit.scrap;
import com.dinnerbone.bukkit.scrap.commands.ClearPluginCommand;
@@ -23,13 +22,7 @@
* @author Dinnerbone
*/
public class ScrapBukkit extends JavaPlugin {
-
- public void onDisable() {
- //PluginManager pm = getServer().getPluginManager();
- }
-
- public void onEnable() {
- // EXAMPLE: Custom code, here we just output some info so we can check all is well
+ public void onEnable() {
PluginDescriptionFile pdfFile = this.getDescription();
System.out.println( pdfFile.getName() + " version " + pdfFile.getVersion() + " is enabled!" );
@@ -67,9 +60,9 @@ public boolean teleport(final String victimName, final String destName) {
}
public boolean teleport(final Player victim, final Player destination) {
- if ((victim == null) || (destination == null))
+ if ((victim == null) || (destination == null))
return false;
-
+
victim.teleport(destination);
return true;
}

0 comments on commit be82812

Please sign in to comment.