Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updated for 1.1-R4-SNAPSHOT.

  • Loading branch information...
commit be8281279ab95cd750bd4cc71835aa8c1dca68b3 1 parent ff86cd2
Warren authored February 03, 2012
2  pom.xml
@@ -22,7 +22,7 @@
22 22
     <dependency>
23 23
       <groupId>org.bukkit</groupId>
24 24
       <artifactId>bukkit</artifactId>
25  
-      <version>0.0.1-SNAPSHOT</version>
  25
+      <version>1.1-R4-SNAPSHOT</version>
26 26
       <type>jar</type>
27 27
       <scope>compile</scope>
28 28
     </dependency>
13  src/main/java/com/dinnerbone/bukkit/scrap/ScrapBukkit.java
... ...
@@ -1,4 +1,3 @@
1  
-
2 1
 package com.dinnerbone.bukkit.scrap;
3 2
 
4 3
 import com.dinnerbone.bukkit.scrap.commands.ClearPluginCommand;
@@ -23,13 +22,7 @@
23 22
  * @author Dinnerbone
24 23
  */
25 24
 public class ScrapBukkit extends JavaPlugin {
26  
-
27  
-    public void onDisable() {
28  
-        //PluginManager pm = getServer().getPluginManager();
29  
-    }
30  
-
31  
-    public void onEnable() {       
32  
-        // EXAMPLE: Custom code, here we just output some info so we can check all is well
  25
+    public void onEnable() {
33 26
         PluginDescriptionFile pdfFile = this.getDescription();
34 27
         System.out.println( pdfFile.getName() + " version " + pdfFile.getVersion() + " is enabled!" );
35 28
 
@@ -67,9 +60,9 @@ public boolean teleport(final String victimName, final String destName) {
67 60
     }
68 61
 
69 62
     public boolean teleport(final Player victim, final Player destination) {
70  
-        if ((victim == null) || (destination == null)) 
  63
+        if ((victim == null) || (destination == null))
71 64
             return false;
72  
-        
  65
+
73 66
         victim.teleport(destination);
74 67
         return true;
75 68
     }

0 notes on commit be82812

Please sign in to comment.
Something went wrong with that request. Please try again.