Package com.sk89q.worldedit.event.platform

Examples of com.sk89q.worldedit.event.platform.PlatformReadyEvent


        WorldEdit.getInstance().getPlatformManager().unregister(platform);
    }

    @EventHandler
    public void serverStarted(FMLServerStartedEvent event) {
        WorldEdit.getInstance().getEventBus().post(new PlatformReadyEvent());
    }
View Full Code Here


        getServer().getPluginManager().registerEvents(new WorldEditListener(this), this);

        // If we are on MCPC+/Cauldron, then Forge will have already loaded
        // Forge WorldEdit and there's (probably) not going to be any other
        // platforms to be worried about... at the current time of writing
        WorldEdit.getInstance().getEventBus().post(new PlatformReadyEvent());

        loadAdapter(); // Need an adapter to work with special blocks with NBT data
    }
View Full Code Here

    @SubscribeEvent
    public void serverStart(FEModuleServerInitEvent e)
    {
        this.platform = new FEPlatform();
        WorldEdit.getInstance().getPlatformManager().register(platform);
        WorldEdit.getInstance().getEventBus().post(new PlatformReadyEvent());
       
        cuiComms = new CUIComms();
    }
View Full Code Here

    }

    @SubscribeEvent
    public void serverStarted(FEModuleServerPostInitEvent e)
    {
        WorldEdit.getInstance().getEventBus().post(new PlatformReadyEvent());
    }
View Full Code Here

TOP

Related Classes of com.sk89q.worldedit.event.platform.PlatformReadyEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.