From 59ab345b32ddac055d0d07a9da73bd10b2594e32 Mon Sep 17 00:00:00 2001 From: Clisprail Date: Sun, 27 Apr 2014 00:43:08 +0200 Subject: [PATCH] Fixed HookFile class... --- parabotv2/src/org/parabot/core/asm/hooks/HookFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {