Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated for 1.1-R4-SNAPSHOT.

  • Loading branch information...
commit be8281279ab95cd750bd4cc71835aa8c1dca68b3 1 parent ff86cd2
@EvilSeph EvilSeph authored
View
2  pom.xml
@@ -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>
View
13 src/main/java/com/dinnerbone/bukkit/scrap/ScrapBukkit.java
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.