Merge remote-tracking branch 'origin/master'
# Conflicts: # gradle.properties
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package com.willfp.eco.internal.spigot.integrations.antigrief
|
||||
|
||||
import com.iridium.iridiumskyblock.PermissionType
|
||||
import com.iridium.iridiumskyblock.api.IridiumSkyblockAPI
|
||||
import com.iridium.iridiumteams.PermissionType
|
||||
import com.willfp.eco.core.integrations.antigrief.AntigriefIntegration
|
||||
import org.bukkit.Location
|
||||
import org.bukkit.block.Block
|
||||
@@ -49,8 +49,13 @@ class AntigriefIridiumSkyblock : AntigriefIntegration {
|
||||
}
|
||||
|
||||
override fun canPickupItem(player: Player, location: Location): Boolean {
|
||||
return true
|
||||
/*
|
||||
val api = IridiumSkyblockAPI.getInstance()
|
||||
return api.getIslandPermission(api.getIslandViaLocation(location).orElse(null) ?: return true, api.getUser(player), PermissionType.PICKUP_ITEMS)
|
||||
|
||||
PICKUP_ITEMS was removed in Iridium v4
|
||||
*/
|
||||
}
|
||||
|
||||
override fun getPluginName(): String {
|
||||
|
||||
@@ -7,7 +7,7 @@ import org.bukkit.Location
|
||||
import java.util.UUID
|
||||
|
||||
class HologramDecentHolograms : HologramIntegration {
|
||||
override fun createHologram(location: Location, contents: MutableList<String>): Hologram {
|
||||
override fun createHologram(location: Location, contents: List<String>): Hologram {
|
||||
val id = UUID.randomUUID().toString()
|
||||
|
||||
DHAPI.createHologram(id, location, contents)
|
||||
@@ -26,8 +26,8 @@ class HologramDecentHolograms : HologramIntegration {
|
||||
DHAPI.getHologram(id)?.destroy()
|
||||
}
|
||||
|
||||
override fun setContents(contents: MutableList<String>) {
|
||||
override fun setContents(contents: List<String>) {
|
||||
DHAPI.setHologramLines(DHAPI.getHologram(id), contents)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,13 +10,15 @@ load: STARTUP
|
||||
loadbefore:
|
||||
- Spartan
|
||||
- CustomCrafting
|
||||
- Lands
|
||||
- EconomyShopGUI
|
||||
- EconomyShopGUI-Premium
|
||||
softdepend:
|
||||
- ProtocolLib
|
||||
- WorldGuard
|
||||
- GriefPrevention
|
||||
- Towny
|
||||
- FactionsUUID
|
||||
- Lands
|
||||
- Kingdoms
|
||||
- NoCheatPlus
|
||||
- AAC
|
||||
@@ -46,8 +48,6 @@ softdepend:
|
||||
- MythicMobs
|
||||
- ExecutableItems
|
||||
- RPGHorses
|
||||
- EconomyShopGUI
|
||||
- EconomyShopGUI-Premium
|
||||
- zShop
|
||||
- DeluxeSellwands
|
||||
- Scyther
|
||||
|
||||
Reference in New Issue
Block a user