From 98631825a35b3bf1a68dc9e2704781a5c40197c1 Mon Sep 17 00:00:00 2001 From: aPunch Date: Sun, 15 Apr 2012 18:35:25 -0500 Subject: [PATCH] Change --- src/main/java/net/citizensnpcs/Citizens.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/citizensnpcs/Citizens.java b/src/main/java/net/citizensnpcs/Citizens.java index d2dab81e8..8b53c39bc 100644 --- a/src/main/java/net/citizensnpcs/Citizens.java +++ b/src/main/java/net/citizensnpcs/Citizens.java @@ -144,8 +144,8 @@ public class Citizens extends JavaPlugin { getServer().getPluginManager().disablePlugin(this); return; } - this.contextClassLoader = Thread.currentThread().getContextClassLoader(); - Thread.currentThread().setContextClassLoader(this.getClassLoader()); + contextClassLoader = Thread.currentThread().getContextClassLoader(); + Thread.currentThread().setContextClassLoader(getClassLoader()); // workaround to fix scripts not loading plugin classes properly config = new Settings(getDataFolder());