Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bedrock forms dont work when using geysermc on a velocity network #9

Open
serverside-swzo opened this issue Sep 8, 2024 · 0 comments

Comments

@serverside-swzo
Copy link

serverside-swzo commented Sep 8, 2024

My current setup is using floodgate only on the fabric server and geyser and floodgate on the velocity proxy, and when i do this the bedrock forms dont work
i believe that this is the code that causes this issue


    public static void openGui(ServerPlayerEntity player, @Nullable WaystoneRecord record) {

        if (FabricLoader.getInstance().isModLoaded("geyser-fabric")) {
            if (GeyserViewerGui.openGuiIfBedrock(player, record)) {
                return;
            }

        }

        JavaViewerGui gui = new JavaViewerGui(player, record);
        gui.updateMenu();
        gui.open();
    }
}

i dont know java but when i looked throught the sourcecode i found this section of code , i beleive the mod checks for the geyser mod on the server , but for me i only have the floodgate mod on the main server. maybe you could check for floodgate instead of geyser or check for the floodgate prefix which is usually "." and then request the form to open

sorry if this issue was long but i thought that i would help u out with troubleshooting and also sorry for my bad english

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant