Examples of PlatformReadyEvent


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

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

        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

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

    @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

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

    }

    @SubscribeEvent
    public void serverStarted(FEModuleServerPostInitEvent e)
    {
        WorldEdit.getInstance().getEventBus().post(new PlatformReadyEvent());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.