psykiatris / inspirations

This project is slowly being built into a multiplayer environment using JDK10.
MIT License
1 stars 0 forks source link

Logs not printing correctl #2

Closed psykiatris closed 5 years ago

psykiatris commented 5 years ago

In the code, if I use a global Mediator object named m, it crashes with an error.

If I set a local variable of type Mediate, it runs ok.

Is it because in Mediate, it’s a static and I invoke it in a non-static?

I attempted to merge what I learned from one book with Oracle’s tutorial example.

Feel free to look at the ListenThread class in the run method.

psykiatris commented 5 years ago

Closing this since I am rewriting server/client functions.