mirror of
https://github.com/songoda/EpicHoppers.git
synced 2024-11-22 10:15:43 +01:00
Merge branch 'development'
This commit is contained in:
commit
3325b91711
2
pom.xml
2
pom.xml
@ -2,7 +2,7 @@
|
|||||||
<groupId>com.songoda</groupId>
|
<groupId>com.songoda</groupId>
|
||||||
<artifactId>EpicHoppers</artifactId>
|
<artifactId>EpicHoppers</artifactId>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<version>4.6.6</version>
|
<version>4.6.7</version>
|
||||||
<build>
|
<build>
|
||||||
<defaultGoal>clean install</defaultGoal>
|
<defaultGoal>clean install</defaultGoal>
|
||||||
<finalName>EpicHoppers-${project.version}</finalName>
|
<finalName>EpicHoppers-${project.version}</finalName>
|
||||||
|
@ -34,6 +34,7 @@ import com.songoda.epichoppers.tasks.HopTask;
|
|||||||
import com.songoda.epichoppers.utils.Methods;
|
import com.songoda.epichoppers.utils.Methods;
|
||||||
import com.songoda.epichoppers.utils.TeleportTrigger;
|
import com.songoda.epichoppers.utils.TeleportTrigger;
|
||||||
import com.songoda.skyblock.SkyBlock;
|
import com.songoda.skyblock.SkyBlock;
|
||||||
|
import com.songoda.skyblock.permission.BasicPermission;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
@ -229,7 +230,12 @@ public class EpicHoppers extends SongodaPlugin {
|
|||||||
pluginManager.registerEvents(new InventoryListeners(), this);
|
pluginManager.registerEvents(new InventoryListeners(), this);
|
||||||
|
|
||||||
if (pluginManager.isPluginEnabled("FabledSkyBlock")) {
|
if (pluginManager.isPluginEnabled("FabledSkyBlock")) {
|
||||||
SkyBlock.getInstance().getPermissionManager().registerPermission(new EpicHoppersPermission());
|
try {
|
||||||
|
SkyBlock.getInstance().getPermissionManager().registerPermission(
|
||||||
|
(BasicPermission) Class.forName("com.songoda.epichoppers.compatibility.EpicHoppersPermission").newInstance());
|
||||||
|
} catch (ClassNotFoundException | InstantiationException | IllegalAccessException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check for liquid tanks
|
// Check for liquid tanks
|
||||||
|
Loading…
Reference in New Issue
Block a user