Merge remote-tracking branch 'runelite/master'
This commit is contained in:
@@ -38,8 +38,8 @@ public class TextureDefinition
|
||||
public int[] field1780;
|
||||
public int[] field1781;
|
||||
public int[] field1786;
|
||||
public int field1782;
|
||||
public int field1783;
|
||||
public int animationSpeed;
|
||||
public int animationDirection;
|
||||
|
||||
public transient int[] pixels;
|
||||
|
||||
|
||||
@@ -26,13 +26,9 @@ package net.runelite.cache.definitions.loaders;
|
||||
|
||||
import net.runelite.cache.definitions.TextureDefinition;
|
||||
import net.runelite.cache.io.InputStream;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
public class TextureLoader
|
||||
{
|
||||
private static final Logger logger = LoggerFactory.getLogger(TextureLoader.class);
|
||||
|
||||
public TextureDefinition load(int id, byte[] b)
|
||||
{
|
||||
TextureDefinition def = new TextureDefinition();
|
||||
@@ -77,8 +73,8 @@ public class TextureLoader
|
||||
def.field1786[var3] = is.readInt();
|
||||
}
|
||||
|
||||
def.field1783 = is.readUnsignedByte();
|
||||
def.field1782 = is.readUnsignedByte();
|
||||
def.animationDirection = is.readUnsignedByte();
|
||||
def.animationSpeed = is.readUnsignedByte();
|
||||
|
||||
return def;
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
package net.runelite.cache.script.assembler;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
@@ -267,7 +267,7 @@ public class ScriptWriter extends rs2asmBaseListener
|
||||
continue;
|
||||
}
|
||||
|
||||
Map<Integer, Integer> map = maps[index++] = new HashMap<>();
|
||||
Map<Integer, Integer> map = maps[index++] = new LinkedHashMap<>();
|
||||
|
||||
for (LookupCase scase : lswitch.getCases())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user