mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-17 11:05:40 +00:00
Tidy up a lot of code- ModLoader and BaseMod are now almost identical client and server side
This commit is contained in:
1 parent
2b8ac71253
commit
36b05d9378
22 files changed
+701
-273
No files matched your search
@@ -19,6 +19,8 @@ import java.awt.image.BufferedImage;
|
||||
import java.awt.image.ImageObserver;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import cpw.mods.fml.client.FMLClientHandler;
|
||||
import static org.lwjgl.opengl.GL11.*;
|
||||
|
||||
/**
|
||||
@@ -47,7 +49,7 @@ public class ModTextureAnimation extends TextureFX
|
||||
public ModTextureAnimation(int icon, int size, String target, BufferedImage image, int tickCount)
|
||||
{
|
||||
super(icon);
|
||||
RenderEngine re = ModLoader.getMinecraftInstance().field_6315_n;
|
||||
RenderEngine re = FMLClientHandler.instance().getClient().field_6315_n;
|
||||
|
||||
targetTex = target;
|
||||
field_1129_e = size;
|
||||
|
||||
Reference in new issue
Block a user