From d9f4aee384368cc10a63131d090cf6ae83ccc451 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Sun, 4 Jul 2021 19:00:14 +0200 Subject: [PATCH] Updated to 5.6.1 and added type parameters to PluginDependent --- .../src/main/java/com/willfp/eco/core/PluginDependent.java | 6 +++--- gradle.properties | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eco-api/src/main/java/com/willfp/eco/core/PluginDependent.java b/eco-api/src/main/java/com/willfp/eco/core/PluginDependent.java index 913bf0a5..ac370c40 100644 --- a/eco-api/src/main/java/com/willfp/eco/core/PluginDependent.java +++ b/eco-api/src/main/java/com/willfp/eco/core/PluginDependent.java @@ -4,19 +4,19 @@ import lombok.AccessLevel; import lombok.Getter; import org.jetbrains.annotations.NotNull; -public abstract class PluginDependent { +public abstract class PluginDependent { /** * The {@link EcoPlugin} that is stored. */ @Getter(AccessLevel.PROTECTED) - private final EcoPlugin plugin; + private final T plugin; /** * Pass an {@link EcoPlugin} in order to interface with it. * * @param plugin The plugin to manage. */ - protected PluginDependent(@NotNull final EcoPlugin plugin) { + protected PluginDependent(@NotNull final T plugin) { this.plugin = plugin; } } diff --git a/gradle.properties b/gradle.properties index 208c5f52..d4a4874b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ -version = 5.6.0 +version = 5.6.1 plugin-name = eco \ No newline at end of file