mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-12-23 19:57:36 +01:00
Moved Xray off to an extension
This commit is contained in:
parent
d919a079cb
commit
0f531665b1
@ -226,7 +226,6 @@ import com.willfp.ecoenchants.enchantments.ecoenchants.spell.Dynamite;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.spell.Missile;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.spell.Quake;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.spell.Vitalize;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.spell.Xray;
|
||||
import com.willfp.ecoenchants.enchantments.meta.EnchantmentType;
|
||||
import lombok.experimental.UtilityClass;
|
||||
import org.bukkit.NamespacedKey;
|
||||
@ -470,7 +469,6 @@ public class EcoEnchants {
|
||||
public static final EcoEnchant CHARGE = new Charge();
|
||||
public static final EcoEnchant ASCEND = new Ascend();
|
||||
public static final EcoEnchant ARBORIST = new Arborist();
|
||||
public static final EcoEnchant XRAY = new Xray();
|
||||
|
||||
/**
|
||||
* Get all registered {@link EcoEnchant}s.
|
||||
|
7
eco-extensions/xray/build.gradle
Normal file
7
eco-extensions/xray/build.gradle
Normal file
@ -0,0 +1,7 @@
|
||||
group 'com.willfp'
|
||||
version '1.0.0'
|
||||
description = 'Xray Extension'
|
||||
|
||||
jar {
|
||||
archiveFileName = project.getDescription() + " v" + project.version + ".jar"
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package com.willfp.ecoenchants.enchantments.ecoenchants.spell;
|
||||
package com.willfp.ecoenchants.xray;
|
||||
|
||||
import com.willfp.eco.util.TeamUtils;
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
@ -0,0 +1,18 @@
|
||||
package com.willfp.ecoenchants.xray;
|
||||
|
||||
import com.willfp.eco.util.extensions.Extension;
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchant;
|
||||
|
||||
public class XrayMain extends Extension {
|
||||
public static final EcoEnchant XRAY = new Xray();
|
||||
|
||||
@Override
|
||||
public void onEnable() {
|
||||
// Handled by super
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDisable() {
|
||||
// Handled by super
|
||||
}
|
||||
}
|
3
eco-extensions/xray/src/main/resources/extension.yml
Normal file
3
eco-extensions/xray/src/main/resources/extension.yml
Normal file
@ -0,0 +1,3 @@
|
||||
name: Xray
|
||||
main: com.willfp.ecoenchants.xray.XrayMain
|
||||
version: ${projectVersion}
|
@ -22,4 +22,5 @@ include ':eco-extensions:firewand'
|
||||
//include ':eco-extensions:mmo'
|
||||
include ':eco-extensions:precision'
|
||||
include ':eco-extensions:sprint-artifacts'
|
||||
include ':eco-extensions:summoning'
|
||||
include ':eco-extensions:summoning'
|
||||
include ':eco-extensions:xray'
|
Loading…
Reference in New Issue
Block a user