New task system & improve DB case-insensitive SELECTs, support fabric 1.20.1 (#433)

This commit is contained in:
William authored and GitHub committed 2023-06-16 12:19:31 +01:00
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()