Advertisement
Guest User

SimpleTeleport.java

a guest
Oct 14th, 2013
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.58 KB | None | 0 0
  1. package com.gmail.bigbeno37.SimpleTeleport;
  2.  
  3. import java.util.HashMap;
  4. import org.bukkit.Location;
  5. import org.bukkit.plugin.java.JavaPlugin;
  6.  
  7. public class SimpleTeleport extends JavaPlugin{
  8.     public static boolean secondBlock = false;
  9.     public static HashMap<Location, Location> tpBlocks = new HashMap<Location, Location>();
  10.    
  11.     public void onEnable(){
  12.         System.out.println("BlockTeleport is running!");
  13.         getServer().getPluginManager().registerEvents(new SimpleTeleportListener(this), this);
  14.     }
  15.    
  16.     public void onDisable(){
  17.         System.out.println("BlockTeleport has stopped!");
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement