Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Commit

Permalink
move WGUtil into another package
Browse files Browse the repository at this point in the history
  • Loading branch information
ReinWD committed Aug 18, 2019
1 parent 45b3111 commit 5013813
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 12 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ repositories {
name 'sk89q'
url "http://maven.sk89q.com/repo/"
}
maven {
name 'ProtocolLib'
url "http://repo.dmulloy2.net/nexus/repository/public/"
}
}

dependencies {
Expand All @@ -37,4 +41,5 @@ dependencies {
exclude group: 'org.bstats', module: 'bstats-bukkit'
exclude group: 'org.bukkit', module: 'bukkit'
}
compileOnly group: "com.comphenix.protocol", name: "ProtocolLib", version: "4.4.0"
}
2 changes: 1 addition & 1 deletion src/main/java/cat/nyaa/infiniteinfernal/InfPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import cat.nyaa.infiniteinfernal.loot.InfMessager;
import cat.nyaa.infiniteinfernal.loot.LootManager;
import cat.nyaa.infiniteinfernal.mob.MobManager;
import cat.nyaa.infiniteinfernal.utils.WorldGuardUtils;
import cat.nyaa.infiniteinfernal.utils.support.WorldGuardUtils;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

Expand Down
3 changes: 1 addition & 2 deletions src/main/java/cat/nyaa/infiniteinfernal/MainLoopTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@

import cat.nyaa.infiniteinfernal.ability.AbilityActive;
import cat.nyaa.infiniteinfernal.ability.IAbilitySet;
import cat.nyaa.infiniteinfernal.configs.IllegalConfigException;
import cat.nyaa.infiniteinfernal.configs.WorldConfig;
import cat.nyaa.infiniteinfernal.mob.IMob;
import cat.nyaa.infiniteinfernal.mob.MobManager;
import cat.nyaa.infiniteinfernal.utils.Utils;
import cat.nyaa.infiniteinfernal.utils.WorldGuardUtils;
import cat.nyaa.infiniteinfernal.utils.support.WorldGuardUtils;
import org.bukkit.Bukkit;
import org.bukkit.GameMode;
import org.bukkit.World;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,17 @@
import cat.nyaa.infiniteinfernal.mob.MobManager;
import cat.nyaa.infiniteinfernal.utils.Context;
import cat.nyaa.infiniteinfernal.utils.Utils;
import cat.nyaa.infiniteinfernal.utils.WorldGuardUtils;
import cat.nyaa.infiniteinfernal.utils.support.WorldGuardUtils;
import org.bukkit.GameMode;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.World;
import org.bukkit.block.Biome;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
import org.bukkit.entity.Entity;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import org.bukkit.event.entity.CreatureSpawnEvent;
import org.bukkit.event.entity.EntityDeathEvent;

import java.util.Arrays;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.atomic.AtomicBoolean;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cat.nyaa.infiniteinfernal.utils;
package cat.nyaa.infiniteinfernal.utils.support;

import com.sk89q.worldedit.bukkit.BukkitWorld;
import com.sk89q.worldguard.LocalPlayer;
Expand Down

0 comments on commit 5013813

Please sign in to comment.