use of org.freeforums.geforce.securitycraft.network.packets.PacketCheckRetinalScanner in project SecurityCraft by Geforce132.
the class ForgeEventHandler method onPlayerTick.
@SubscribeEvent
@SideOnly(Side.CLIENT)
public void onPlayerTick(PlayerTickEvent event) {
counter++;
if (cooldownCounter > 0) {
cooldownCounter--;
}
if (counter >= 20) {
mod_SecurityCraft.network.sendToServer(new PacketCheckRetinalScanner(event.player.getCommandSenderName()));
counter = 0;
}
}
Aggregations