Package mods.railcraft.common.util.misc

Examples of mods.railcraft.common.util.misc.Timer


        EntityPlayer player = event.player;
        if (player.worldObj == null)
            return;

        Timer timer = timers.get(player);
        if (timer == null) {
            timer = new Timer();
            timers.put(player, timer);
        }
        if (!timer.hasTriggered(player.worldObj, TICKS_PER_MARKER))
            return;

        String username = Railcraft.proxy.getPlayerUsername(player);
        if (username == null || username.startsWith("["))
            return;
View Full Code Here

TOP

Related Classes of mods.railcraft.common.util.misc.Timer

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.