From a4b60759904ffdf61558e119e823abe77df6bb5b Mon Sep 17 00:00:00 2001
From: ulrich
Date: Thu, 01 Apr 2021 15:05:15 +0000
Subject: [PATCH] start angepasst

---
 src/de/uhilger/avdirektor/handler/CmdHandler.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/de/uhilger/avdirektor/handler/CmdHandler.java b/src/de/uhilger/avdirektor/handler/CmdHandler.java
index 9892e84..4a96ec9 100644
--- a/src/de/uhilger/avdirektor/handler/CmdHandler.java
+++ b/src/de/uhilger/avdirektor/handler/CmdHandler.java
@@ -19,6 +19,7 @@
 package de.uhilger.avdirektor.handler;
 
 import com.sun.net.httpserver.HttpExchange;
+import de.uhilger.avdirektor.App;
 import java.util.logging.Level;
 import java.util.logging.Logger;
 
@@ -35,7 +36,7 @@
   }
   
   protected String process(HttpExchange t, String params) {
-    String antwort = this.kommando(cmd);
+    String antwort = App.getPlayer().kommando(cmd);
     logger.log(Level.FINE, antwort);
     return antwort;
   }

--
Gitblit v1.9.3