mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 14:38:53 +00:00
feat: target Minecraft 1.21 on Fabric, add API
Also adjusts how the HuskHomes API on Fabric is versioned. Now has the pattern: `net.william278.huskhomes:huskhomes-fabric:<version>+<mc_version>` Closes #640
This commit is contained in:
11 files changed
+258
-75
No files matched your search
@@ -71,6 +71,17 @@ public class BaseHuskHomesAPI {
|
||||
this.plugin = plugin;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the name of this server.
|
||||
*
|
||||
* @return the server name
|
||||
* @since 4.6.4
|
||||
*/
|
||||
@NotNull
|
||||
public String getServer() {
|
||||
return plugin.getServerName();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns saved {@link SavedUser} for the given player's account {@link UUID}, if they exist.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user