Skip to content

Commit

Permalink
fix texture atlas stitch event handlers firing in wrong order
Browse files Browse the repository at this point in the history
  • Loading branch information
octarine-noise committed Aug 16, 2014
1 parent ee50ce1 commit 772b509
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import com.google.common.collect.Sets;

import cpw.mods.fml.common.eventhandler.Event;
import cpw.mods.fml.common.eventhandler.EventPriority;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
Expand Down Expand Up @@ -62,7 +63,7 @@ public IIcon registerIcon(String resourceLocation) {
* their textures to "sniff out" all leaf textures.
* @param event
*/
@SubscribeEvent
@SubscribeEvent(priority=EventPriority.LOWEST)
@SuppressWarnings("unchecked")
public void handleTextureReload(TextureStitchEvent.Pre event) {
if (event.map.getTextureType() != 0) return;
Expand Down

0 comments on commit 772b509

Please sign in to comment.