Trying to fix the sync issue

This commit is contained in:
modmuss50 2015-05-27 12:19:11 +01:00
parent 4fcdf22220
commit 8055546675
7 changed files with 125 additions and 5 deletions

View file

@ -0,0 +1,15 @@
package techreborn.util;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.Minecraft;
import net.minecraft.world.World;
public class ClientUtil {
@SideOnly(Side.CLIENT)
public static World getWorld(){
return Minecraft.getMinecraft().theWorld;
}
}