mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-04 22:16:22 +00:00
Cleanup unused methods
This commit is contained in:
1 parent
9abbb59131
commit
58b8c25a29
2 files changed
-26
No files matched your search
@@ -351,16 +351,6 @@ public class BukkitHuskHomes extends JavaPlugin implements HuskHomes {
|
|||||||
return Version.fromString(getDescription().getVersion());
|
return Version.fromString(getDescription().getVersion());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public @NotNull Version getMinecraftVersion() {
|
|
||||||
return Version.fromMinecraftVersionString(Bukkit.getBukkitVersion());
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public @NotNull String getPlatformType() {
|
|
||||||
return getServer().getName();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the {@link Server} the plugin is on
|
* Returns the {@link Server} the plugin is on
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -228,22 +228,6 @@ public interface HuskHomes {
|
|||||||
@NotNull
|
@NotNull
|
||||||
Version getPluginVersion();
|
Version getPluginVersion();
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the Minecraft version implementation
|
|
||||||
*
|
|
||||||
* @return the Minecraft {@link Version}
|
|
||||||
*/
|
|
||||||
@NotNull
|
|
||||||
Version getMinecraftVersion();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the platform type (e.g. Spigot, Paper etc)
|
|
||||||
*
|
|
||||||
* @return the type of server platform string
|
|
||||||
*/
|
|
||||||
@NotNull
|
|
||||||
String getPlatformType();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reloads the {@link Settings} and {@link Locales} from their respective config files
|
* Reloads the {@link Settings} and {@link Locales} from their respective config files
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in new issue
Block a user