mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 22:17:17 +00:00
New task system & improve DB case-insensitive SELECTs, support fabric 1.20.1 (#433)
This commit is contained in:
1 parent
d4b37e3677
commit
fb052340c0
27 files changed
+687
-505
No files matched your search
@@ -120,9 +120,15 @@ public class FabricUser extends OnlineUser {
|
||||
return player;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void playSound(@NotNull String soundEffect) throws IllegalArgumentException {
|
||||
// Do nothing - todo: Fix sounds when adventure-platform-fabric is updated.
|
||||
}
|
||||
|
||||
@Override
|
||||
public void teleportLocally(@NotNull Location location, boolean asynchronous) throws TeleportationException {
|
||||
final MinecraftServer server = player.getServer();
|
||||
assert server != null : "Server is null";
|
||||
final Identifier worldId = Identifier.tryParse(location.getWorld().getName());
|
||||
player.teleport(
|
||||
server.getWorld(server.getWorldRegistryKeys().stream()
|
||||
|
||||
Reference in new issue
Block a user