cache: Store ID in ScriptLoader

This commit is contained in:
Max Weber
2018-09-11 18:01:42 -06:00
parent 1a14aa295e
commit f7c83db941
3 changed files with 4 additions and 3 deletions

View File

@@ -38,6 +38,7 @@ public class ScriptLoader
public ScriptDefinition load(int id, byte[] b)
{
ScriptDefinition def = new ScriptDefinition();
def.setId(id);
InputStream in = new InputStream(b);
in.setOffset(in.getLength() - 2);