From cf94a835fc7ec2e4b4560b0df6c3729ad1281ef2 Mon Sep 17 00:00:00 2001 From: MikeZyeman Date: Mon, 29 Nov 2021 16:39:29 +0100 Subject: [PATCH] Fixed display error toString in structure --- src/ch/zhaw/catan/Structure.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ch/zhaw/catan/Structure.java b/src/ch/zhaw/catan/Structure.java index fc085a2..04add42 100644 --- a/src/ch/zhaw/catan/Structure.java +++ b/src/ch/zhaw/catan/Structure.java @@ -6,4 +6,8 @@ public abstract class Structure { public Structure(Config.Faction faction) { this.faction = faction; } + + public String toString() { + return faction.toString(); + } }