Advertisement
Guest User

pvponplace

a guest
Apr 9th, 2014
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.56 KB | None | 0 0
  1. package me.bennett.TheSearch;
  2.  
  3. import org.bukkit.Bukkit;
  4. import org.bukkit.entity.Player;
  5. import org.bukkit.event.EventHandler;
  6. import org.bukkit.event.Listener;
  7. import org.bukkit.event.block.BlockPlaceEvent;
  8. import org.bukkit.plugin.PluginManager;
  9. import org.bukkit.plugin.java.JavaPlugin;
  10.  
  11. public class Main extends JavaPlugin implements Listener {
  12.    
  13.     public void onEnable(){
  14.         PluginManager pm = Bukkit.getPluginManager();
  15.         pm.registerEvents(this, this);
  16.     }
  17.    
  18.     @EventHandler
  19.    
  20.     public void onBlockPlace(BlockPlaceEvent event) {
  21.        
  22.     }
  23.    
  24.    
  25.    
  26.  
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement