mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-27 23:33:08 +00:00
Glow Panels render in item form, use getEffectiveSide() instead of isRemote when checking packet security
This commit is contained in:
1 parent
64f60150df
commit
c002ac6d8a
67 files changed
+394
-169
No files matched your search
@@ -30,7 +30,7 @@ public class CTMRegistry
|
||||
|
||||
public static List<Pair<String, String>> ctmTypes = new ArrayList<Pair<String, String>>();
|
||||
|
||||
public static Map<String, ChiselTextureCTM> textureCache = new HashMap<String, ChiselTextureCTM>();
|
||||
public static Map<String, TextureCTM> textureCache = new HashMap<String, TextureCTM>();
|
||||
|
||||
@SubscribeEvent
|
||||
public void onTextureStitch(TextureStitchEvent.Pre event)
|
||||
@@ -69,7 +69,7 @@ public class CTMRegistry
|
||||
textures.add(callback);
|
||||
}
|
||||
|
||||
public static ChiselTextureCTM createTexture(String domain, String name)
|
||||
public static TextureCTM createTexture(String domain, String name)
|
||||
{
|
||||
TextureSpriteCallback[] callbacks = new TextureSpriteCallback[CTM.REQUIRED_TEXTURES];
|
||||
|
||||
@@ -79,6 +79,6 @@ public class CTMRegistry
|
||||
register(callbacks[0]);
|
||||
register(callbacks[1]);
|
||||
|
||||
return new ChiselTextureCTM(EnumWorldBlockLayer.SOLID, callbacks);
|
||||
return new TextureCTM(EnumWorldBlockLayer.SOLID, callbacks);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user