From 2dcc44dcec8a985ef4da59f6c95ea4ed732f9444 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 26 Aug 2018 19:18:24 +1000 Subject: SPIGOT-4307: Fix hacky API for banners on shields --- src/main/java/org/bukkit/block/Banner.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/block/Banner.java b/src/main/java/org/bukkit/block/Banner.java index cabf4744..0ce851dd 100644 --- a/src/main/java/org/bukkit/block/Banner.java +++ b/src/main/java/org/bukkit/block/Banner.java @@ -18,7 +18,9 @@ public interface Banner extends BlockState { DyeColor getBaseColor(); /** - * Sets the base color for this banner + * Sets the base color for this banner. + * Only valid for shield pseudo banners, otherwise base depends on block + * type * * @param color the base color */ -- cgit v1.2.3