From 8c83be123f3ad734a70f697e4521b21ca6cb1044 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Fri, 7 May 2021 19:07:16 +0100 Subject: [PATCH] Fixed formatting --- .../enchantments/ecoenchants/special/Volatile.java | 1 + eco-core/core-plugin/src/main/resources/vanillaenchants.yml | 2 +- .../main/java/com/willfp/ecoenchants/firewand/Firewand.java | 4 ++-- .../xray/src/main/java/com/willfp/ecoenchants/xray/Xray.java | 4 ++-- gradle.properties | 4 ++-- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/special/Volatile.java b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/special/Volatile.java index 69afafde..b819b5f4 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/special/Volatile.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/special/Volatile.java @@ -1,4 +1,5 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.special; + import com.willfp.eco.core.integrations.antigrief.AntigriefManager; import com.willfp.ecoenchants.enchantments.EcoEnchant; import com.willfp.ecoenchants.enchantments.EcoEnchants; diff --git a/eco-core/core-plugin/src/main/resources/vanillaenchants.yml b/eco-core/core-plugin/src/main/resources/vanillaenchants.yml index 7b3facb6..0877ad6e 100644 --- a/eco-core/core-plugin/src/main/resources/vanillaenchants.yml +++ b/eco-core/core-plugin/src/main/resources/vanillaenchants.yml @@ -14,4 +14,4 @@ enabled: false # There may be potential conflicts if modifying vanilla enchantme # Currently, it is *not* possible to modify the enchantment levels from enchanting tables. # It will work with anvils however, but since it is still possible to get enchantments at their vanilla # max levels, then it isn't recommended to lower the max level of a vanilla enchantment, only to raise it. -max-levels: [] \ No newline at end of file +max-levels: [ ] \ No newline at end of file diff --git a/eco-extensions/firewand/src/main/java/com/willfp/ecoenchants/firewand/Firewand.java b/eco-extensions/firewand/src/main/java/com/willfp/ecoenchants/firewand/Firewand.java index 3243550a..be98c1bc 100644 --- a/eco-extensions/firewand/src/main/java/com/willfp/ecoenchants/firewand/Firewand.java +++ b/eco-extensions/firewand/src/main/java/com/willfp/ecoenchants/firewand/Firewand.java @@ -19,8 +19,8 @@ public class Firewand extends Spell { @Override public boolean onUse(@NotNull final Player player, - final int level, - @NotNull final PlayerInteractEvent event) { + final int level, + @NotNull final PlayerInteractEvent event) { SmallFireball fireball = player.launchProjectile(SmallFireball.class, player.getEyeLocation().getDirection().multiply(this.getConfig().getDouble(EcoEnchants.CONFIG_LOCATION + "velocity"))); fireball.setIsIncendiary(this.getConfig().getBool(EcoEnchants.CONFIG_LOCATION + "fire")); fireball.setMetadata("eco-damage", this.getPlugin().getMetadataValueFactory().create(this.getConfig().getDouble(EcoEnchants.CONFIG_LOCATION + "damage-per-level") * level)); diff --git a/eco-extensions/xray/src/main/java/com/willfp/ecoenchants/xray/Xray.java b/eco-extensions/xray/src/main/java/com/willfp/ecoenchants/xray/Xray.java index 248c539b..24ba6e1f 100644 --- a/eco-extensions/xray/src/main/java/com/willfp/ecoenchants/xray/Xray.java +++ b/eco-extensions/xray/src/main/java/com/willfp/ecoenchants/xray/Xray.java @@ -32,8 +32,8 @@ public class Xray extends Spell { @Override public boolean onUse(@NotNull final Player player, - final int level, - @NotNull final PlayerInteractEvent event) { + final int level, + @NotNull final PlayerInteractEvent event) { Block block = event.getClickedBlock(); if (!event.getAction().equals(Action.RIGHT_CLICK_BLOCK)) { diff --git a/gradle.properties b/gradle.properties index 4eb8946c..d9612af7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ -version = 7.3.7 -plugin-name = EcoEnchants \ No newline at end of file +version=7.3.7 +plugin-name=EcoEnchants \ No newline at end of file