OSDN Git Service

?
[chemicraft/chemicraft.git] / common / yykimoto / sanboru / yakinikutation.java
1 package yykimoto.sanboru;
2
3 import cpw.mods.fml.relauncher.Side;
4 import cpw.mods.fml.relauncher.SideOnly;
5 import net.minecraft.client.Minecraft;
6
7 public class yakinikutation {
8  @SideOnly(value = Side.CLIENT)
9  public static boolean sanboru() {
10   if (Minecraft.getMinecraft().session.username.equals("sanboru")) {
11    throw new RuntimeException("You are a criminal!");
12   } else {
13    return true;
14   }
15  }
16 }