rt

An obligatory Java Project
Log | Files | Refs | LICENSE

commit c0e6f108e7a04760f12284e5727d7a47ab7ba05c
parent 2079143ee004ef973c291988e9a214550ac08912
Author: zerous Naveen Narayanan <zerous@nocebo.space>
Date:   Fri, 13 Dec 2019 18:55:38 +0100

Add printfdbg() for debugging

Diffstat:
Mservertask.java | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/servertask.java b/servertask.java @@ -16,6 +16,12 @@ public class servertask implements Runnable { private String lastMsg = ""; private String mainMenu = ""; private Lock lock = new ReentrantLock(); + private game pgame; + + private void printfdbg(String m) { + String dbg = "dbg " + player.getUname() + " " + m; + System.out.println(dbg); + } private int login(String m) { String[] inp = m.split(" ", 2);