From 62ddc0bd3ce33994843d12f2c29915f47e66dabc Mon Sep 17 00:00:00 2001 From: David Hermann Date: Wed, 1 Feb 2023 19:43:56 +0100 Subject: [PATCH] Update Player.java Added empty constructor for unit tests --- src/main/java/org/bitbiome/entities/Player.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/bitbiome/entities/Player.java b/src/main/java/org/bitbiome/entities/Player.java index ff8dffb..3d46e17 100644 --- a/src/main/java/org/bitbiome/entities/Player.java +++ b/src/main/java/org/bitbiome/entities/Player.java @@ -22,6 +22,10 @@ public class Player { inventory = new ArrayList<>(); } + public Player() { + + } + public String getName() { return name; }