Guest User

Untitled

a guest
Jun 27th, 2017
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. import com.google.inject.Inject;
  2. import org.spongepowered.api.Game;
  3. import org.spongepowered.api.command.args.GenericArguments;
  4. import org.spongepowered.api.command.spec.CommandSpec;
  5. import org.spongepowered.api.event.Listener;
  6. import org.spongepowered.api.event.game.state.GameInitializationEvent;
  7. import org.spongepowered.api.plugin.Plugin;
  8. import org.spongepowered.api.text.Text;
  9.  
  10. import java.util.logging.Logger;
  11.  
  12. /**
  13. * Created by tyson on 6/25/2017.
  14. */
  15. @Plugin(name = "RocketBootPlugin", id = "rocketbootplugins", version = "1.0")
  16. public class mainRocketBoots {
  17.  
  18. @Inject
  19. Game game;
  20.  
  21. @Inject
  22. Logger logger;
  23.  
  24. @Listener
  25. public void onInit(GameInitializationEvent e){
  26. game.getEventManager().registerListeners(this, new listeners());
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment