diff --git a/parabotv2/src/org/parabot/core/asm/hooks/HookFile.java b/parabotv2/src/org/parabot/core/asm/hooks/HookFile.java index dd48f59..7ac86e1 100644 --- a/parabotv2/src/org/parabot/core/asm/hooks/HookFile.java +++ b/parabotv2/src/org/parabot/core/asm/hooks/HookFile.java @@ -24,13 +24,13 @@ public class HookFile { public HookFile(URL url, int type) { setType(type); this.url = url; - this.type = type; } private void setType(int type) { if(type < 0 || type > 1) { throw new IllegalArgumentException("This type does not exist"); } + this.type = type; } public InputStream getInputStream() {