mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-25 18:47:44 +01:00
Rename InteropUtil -> InteropUtils.
This commit is contained in:
parent
f7d36bc1f3
commit
972ccaed7e
@ -38,7 +38,7 @@
|
|||||||
import com.sk89q.worldguard.bukkit.util.Entities;
|
import com.sk89q.worldguard.bukkit.util.Entities;
|
||||||
import com.sk89q.worldguard.bukkit.util.Events;
|
import com.sk89q.worldguard.bukkit.util.Events;
|
||||||
import com.sk89q.worldguard.bukkit.util.Materials;
|
import com.sk89q.worldguard.bukkit.util.Materials;
|
||||||
import com.sk89q.worldguard.bukkit.util.InteropUtil;
|
import com.sk89q.worldguard.bukkit.util.InteropUtils;
|
||||||
import com.sk89q.worldguard.domains.Association;
|
import com.sk89q.worldguard.domains.Association;
|
||||||
import com.sk89q.worldguard.protection.association.Associables;
|
import com.sk89q.worldguard.protection.association.Associables;
|
||||||
import com.sk89q.worldguard.protection.association.RegionAssociable;
|
import com.sk89q.worldguard.protection.association.RegionAssociable;
|
||||||
@ -123,7 +123,7 @@ private boolean isWhitelisted(Cause cause, World world, boolean pvp) {
|
|||||||
Player player = (Player) rootCause;
|
Player player = (Player) rootCause;
|
||||||
WorldConfiguration config = getWorldConfig(world);
|
WorldConfiguration config = getWorldConfig(world);
|
||||||
|
|
||||||
if (config.fakePlayerBuildOverride && InteropUtil.isFakePlayer(player)) {
|
if (config.fakePlayerBuildOverride && InteropUtils.isFakePlayer(player)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
public final class InteropUtil {
|
public final class InteropUtils {
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
private static final Class<?> forgeFakePlayerClass;
|
private static final Class<?> forgeFakePlayerClass;
|
||||||
@ -58,7 +58,7 @@ private static Class<?> findClass(String name) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private InteropUtil() {
|
private InteropUtils() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
Loading…
Reference in New Issue
Block a user