From 0e30b2c8ddf24d9f6fb78733361fda1ec03eb091 Mon Sep 17 00:00:00 2001 From: Sollace Date: Tue, 26 Sep 2023 01:45:50 +0100 Subject: [PATCH] Fix that pesky compiler warning --- .../api/pony/meta/TriggerPixelType.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/minelittlepony/api/pony/meta/TriggerPixelType.java b/src/main/java/com/minelittlepony/api/pony/meta/TriggerPixelType.java index dfbb1838..6657a445 100644 --- a/src/main/java/com/minelittlepony/api/pony/meta/TriggerPixelType.java +++ b/src/main/java/com/minelittlepony/api/pony/meta/TriggerPixelType.java @@ -6,7 +6,7 @@ import java.util.List; /** * Interface for enums that can be parsed from an image trigger pixel value. */ -public interface TriggerPixelType { +public interface TriggerPixelType> { /** * Gets the pixel colour matching this enum value. */ @@ -34,10 +34,10 @@ public interface TriggerPixelType { * Returns a list of possible values this trigger pixel can accept. */ @SuppressWarnings("unchecked") - default