From cdf9c342eff9fbd6558750b9bdd949779f44e9fa Mon Sep 17 00:00:00 2001 From: Yannik Bretschneider Date: Sat, 1 May 2021 23:18:53 +0200 Subject: [PATCH] fix: changed custom content type to HashMap --- .../teamname/marvelous/gamelibrary/events/CustomEvent.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/uulm/teamname/marvelous/gamelibrary/events/CustomEvent.java b/src/main/java/uulm/teamname/marvelous/gamelibrary/events/CustomEvent.java index 65ce4f2..9c22a81 100644 --- a/src/main/java/uulm/teamname/marvelous/gamelibrary/events/CustomEvent.java +++ b/src/main/java/uulm/teamname/marvelous/gamelibrary/events/CustomEvent.java @@ -1,7 +1,9 @@ package uulm.teamname.marvelous.gamelibrary.events; +import java.util.HashMap; + /** Represents a custom event ({@link EventType#CustomEvent}). */ public class CustomEvent extends Event { public String teamIdentifier; - public Object customContent; + public HashMap customContent; }