mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-11-27 20:59:16 +01:00
WorldGuard integration is now disabled, since it has been broken for quite some time now and nobody who used it has been interested enough to actually fix it.
The code is left in though, just in case somebody finally decides to fix it. We'll probably strip the code out eventually if it remains unfixed.
This commit is contained in:
parent
9eef2d13d6
commit
dcd167d4e0
@ -2,6 +2,7 @@ package com.massivecraft.factions;
|
||||
|
||||
import java.lang.reflect.Modifier;
|
||||
import java.lang.reflect.Type;
|
||||
import java.util.logging.Level;
|
||||
import java.util.HashSet;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
@ -23,7 +24,7 @@ import com.massivecraft.factions.cmd.*;
|
||||
import com.massivecraft.factions.integration.Econ;
|
||||
import com.massivecraft.factions.integration.LWCFeatures;
|
||||
import com.massivecraft.factions.integration.SpoutFeatures;
|
||||
import com.massivecraft.factions.integration.Worldguard;
|
||||
//import com.massivecraft.factions.integration.Worldguard;
|
||||
import com.massivecraft.factions.listeners.FactionsBlockListener;
|
||||
import com.massivecraft.factions.listeners.FactionsChatEarlyListener;
|
||||
import com.massivecraft.factions.listeners.FactionsEntityListener;
|
||||
@ -42,6 +43,7 @@ import com.google.gson.reflect.TypeToken;
|
||||
import com.massivecraft.factions.integration.EssentialsFeatures;
|
||||
import com.massivecraft.factions.integration.capi.CapiFeatures;
|
||||
|
||||
|
||||
public class P extends MPlugin
|
||||
{
|
||||
// Our single plugin instance
|
||||
@ -104,7 +106,9 @@ public class P extends MPlugin
|
||||
|
||||
if(Conf.worldGuardChecking)
|
||||
{
|
||||
Worldguard.init(this);
|
||||
this.log(Level.WARNING, "Our WorldGuard integration is broken with current versions of WorldGuard, so it is disabled. If you are a plugin dev and want to try your hand at fixing it, be our guest.");
|
||||
Conf.worldGuardChecking = false;
|
||||
// Worldguard.init(this);
|
||||
}
|
||||
|
||||
// Register Event Handlers
|
||||
|
Loading…
Reference in New Issue
Block a user