mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-20 13:28:09 +00:00
EnumerableExtensions - Remove Enumerate<T> extension
This commit is contained in:
@@ -131,9 +131,10 @@ namespace PckStudio.Core.DLC
|
||||
}
|
||||
|
||||
{
|
||||
foreach ((int i, Animation.Frame frame) in texturePackage.GetBlockEntityBreakAnimation().GetFrames().Enumerate())
|
||||
int i = 0;
|
||||
foreach (Animation.Frame frame in texturePackage.GetBlockEntityBreakAnimation().GetFrames())
|
||||
{
|
||||
texturePck.AddTexture($"res/textures/destroy_stage_{i}.png", frame.Texture);
|
||||
texturePck.AddTexture($"res/textures/destroy_stage_{i++}.png", frame.Texture);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user