Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import com.google.inject.Inject;
- import org.spongepowered.api.Game;
- import org.spongepowered.api.command.args.GenericArguments;
- import org.spongepowered.api.command.spec.CommandSpec;
- import org.spongepowered.api.event.Listener;
- import org.spongepowered.api.event.game.state.GameInitializationEvent;
- import org.spongepowered.api.plugin.Plugin;
- import org.spongepowered.api.text.Text;
- import java.util.logging.Logger;
- /**
- * Created by tyson on 6/25/2017.
- */
- @Plugin(name = "RocketBootPlugin", id = "rocketbootplugins", version = "1.0")
- public class mainRocketBoots {
- @Inject
- Game game;
- @Inject
- Logger logger;
- @Listener
- public void onInit(GameInitializationEvent e){
- game.getEventManager().registerListeners(this, new listeners());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment