Jump to content

Änderungen werden nicht geladen


ErfinderLabyrinth

Recommended Posts

Hi

I have a problem with Minecraft, Forge or Gradlew

Here is a small excerpt from the code:

Excerpt from the DisplayS class:

java.lang.System.out.println("save");
ClientServerConnection.writeToServer(new SimpleChannelMessage(new ResourceLocation(System.modid, "test"), "hello_Server"));
java.lang.System.out.println("saved");

Snippet from the ClientServerConnection class:

public static void writeToClient(SimpleChannelMessage msg, ServerPlayerEntity player) {
          java.lang.System.out.println("write to client");
          INSTANCE.send(PacketDistributor.PLAYER.with(() -> player), msg);
}

And now a snippet in the console:

[12:52:32] [Render thread/INFO] [STDOUT/]: [net.lager.system.client.screen.DisplayS:keyPressed:69]: 256
[12:52:32] [Render thread/INFO] [STDOUT/]: [net.lager.system.client.screen.DisplayS:onClose:89]: save
[12:52:47] [Render thread/INFO] [minecraft/NewChatGui]: [CHAT] -128, 74, 60 has the following block data: {x: -128, y: 74, z: 60, Items: [], id: "lagersystem_mp:dilplayte"}
[12:52:50] [Server thread/INFO] [minecraft/IntegratedServer]: Saving and pausing game...

As you can see here, only "save" is output, the rest is not, but the code "java.lang.System.out.println("save");" is on line 91, but the console says it is on line 89.

I only find one way why only "save is output" and that is that not the current code, but a previous code is executed

I ran the commands in the cmd Console:

- gradlew genEclipseRuns

- gradlew Eclipse

Both without success.

What could be the reason for the error and how do I fix the error?

PS: I moved the project to another folder at least once

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.