From 0398db90ae7c3321045865fc3093ef6c74af592d Mon Sep 17 00:00:00 2001 From: Warrior <50800980+Warriorrrr@users.noreply.github.com> Date: Thu, 20 Oct 2022 02:48:32 +0200 Subject: [PATCH] Add bamboo raft to boats item list --- src/com/palmergames/bukkit/util/ItemLists.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/com/palmergames/bukkit/util/ItemLists.java b/src/com/palmergames/bukkit/util/ItemLists.java index 784ebc5e49..97e354c6e1 100644 --- a/src/com/palmergames/bukkit/util/ItemLists.java +++ b/src/com/palmergames/bukkit/util/ItemLists.java @@ -116,6 +116,7 @@ public boolean contains(@NotNull ItemStack itemStack) { /** * List of Signs. */ + // TODO: Verify that the hanging sign material ends with _SIGN public static final ItemLists SIGNS = PredicateList.builder().endsWith("_SIGN").build(); /** @@ -131,7 +132,8 @@ public boolean contains(@NotNull ItemStack itemStack) { /** * List of Boats. */ - public static final ItemLists BOATS = PredicateList.builder().endsWith("_BOAT").build(); + // TODO: Verify that bamboo raft w/ chest material ends with _RAFT + public static final ItemLists BOATS = PredicateList.builder().endsWith("_BOAT").endsWith("_RAFT").build(); /** * List of Minecarts.