moved redundant RenderWorldTickListener to RenderEventHandler

This commit is contained in:
makeo committed 2015-10-25 14:11:24 +01:00
1 parent 28ad5d1217
commit 1c2bf15dd4
2 files changed
+6 -22

No files matched your search

@@ -10,6 +10,7 @@ import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.MovingObjectPosition;
import net.minecraftforge.client.event.DrawBlockHighlightEvent;
import net.minecraftforge.client.event.RenderWorldLastEvent;
import net.minecraftforge.common.util.ForgeDirection;
import org.lwjgl.opengl.GL11;
import thaumcraft.api.BlockCoordinates;
@@ -75,4 +76,9 @@ public class RenderEventHandler {
}
}
}
@SubscribeEvent
public void worldRenderEvent(RenderWorldLastEvent event) {
GrowingDisplayManager.notifyRenderTick();
}
}
@@ -1,22 +0,0 @@
package makeo.gadomancy.client.events;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import makeo.gadomancy.client.util.GrowingDisplayManager;
import net.minecraftforge.client.event.RenderWorldLastEvent;
/**
* This class is part of the Gadomancy Mod
* Gadomancy is Open Source and distributed under the
* GNU LESSER GENERAL PUBLIC LICENSE
* for more read the LICENSE file
*
* Created by HellFirePvP @ 23.10.2015 23:09
*/
public class RenderWorldTickListener {
@SubscribeEvent
public void worldRenderEvent(RenderWorldLastEvent event) {
GrowingDisplayManager.notifyRenderTick();
}
}