From 53ad8f0c344eca0049c80a225c349223d56be2d1 Mon Sep 17 00:00:00 2001 From: Zocker1999NET Date: Tue, 26 Jul 2016 16:21:38 +0200 Subject: [PATCH] =?UTF-8?q?Spielername=20Abfrage=20Bugfix=20Damit=20die=20?= =?UTF-8?q?ID=20f=C3=BCr=20die=20Spieler=20vor=20dem=20PC=20erst=20ab=201?= =?UTF-8?q?=20anf=C3=A4ngt=20zu=20z=C3=A4hlen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Colours.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Colours.java b/Colours.java index c17e19a..0517c86 100644 --- a/Colours.java +++ b/Colours.java @@ -212,7 +212,7 @@ public class Colours extends World implements ButtonEvent } private String getName(int id, String col) { - String name = JOptionPane.showInputDialog(null, "Wie soll Spieler Nr. "+id+" mit der Farbe "+col+" heißen?"); + String name = JOptionPane.showInputDialog(null, "Wie soll Spieler Nr. "+(id+1)+" mit der Farbe "+col+" heißen?"); if(name == null) { name = ""; }