From 6d75465938926f3298c3d42a4db9d3f560342a28 Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Wed, 10 Apr 2013 08:51:37 +0200 Subject: [PATCH] Remove warning since it won't be required after MCore introduction. --- src/com/massivecraft/factions/Factions.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/com/massivecraft/factions/Factions.java b/src/com/massivecraft/factions/Factions.java index 6a2c9606..6e7170b7 100644 --- a/src/com/massivecraft/factions/Factions.java +++ b/src/com/massivecraft/factions/Factions.java @@ -4,7 +4,6 @@ import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; -import java.util.logging.Level; import java.util.Set; import org.bukkit.block.Block; @@ -82,18 +81,6 @@ public class Factions extends MPlugin @Override public void onEnable() { - // bit of (apparently absolutely necessary) idiot-proofing for CB version support due to changed GSON lib package name - try - { - Class.forName("org.bukkit.craftbukkit.libs.com.google.gson.reflect.TypeToken"); - } - catch (ClassNotFoundException ex) - { - this.log(Level.SEVERE, "GSON lib not found. Your CraftBukkit build is too old (< 1.3.2) or otherwise not compatible."); - this.suicide(); - return; - } - if ( ! preEnable()) return; this.loadSuccessful = false;