aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorSHsuperCM <shsupercm@gmail.com>2021-09-18 11:02:16 +0300
committerSHsuperCM <shsupercm@gmail.com>2021-09-18 11:02:16 +0300
commitaa392bb3825cdc28b08940e38abf6801eb6a531a (patch)
tree6a6a6784cdebffec5a57e4663c1a1336f110bf44 /src/main
parentadc5e8b5bdcf23e37b91409733a7c1005d0ae84a (diff)
downloadCITResewn-aa392bb3825cdc28b08940e38abf6801eb6a531a.tar.gz
CITResewn-aa392bb3825cdc28b08940e38abf6801eb6a531a.tar.bz2
CITResewn-aa392bb3825cdc28b08940e38abf6801eb6a531a.zip
Added deprecated "crossbow_standby" subitem support
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/shcm/shsupercm/fabric/citresewn/pack/cits/CITItem.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/shcm/shsupercm/fabric/citresewn/pack/cits/CITItem.java b/src/main/java/shcm/shsupercm/fabric/citresewn/pack/cits/CITItem.java
index 15cb9bd..f85ec75 100644
--- a/src/main/java/shcm/shsupercm/fabric/citresewn/pack/cits/CITItem.java
+++ b/src/main/java/shcm/shsupercm/fabric/citresewn/pack/cits/CITItem.java
@@ -284,6 +284,7 @@ public class CITItem extends CIT {
public Identifier fixDeprecatedSubItem(String subItem) {
String replacement = switch (subItem) {
case "bow_pulling_standby" -> "bow";
+ case "crossbow_standby" -> "crossbow";
case "potion_bottle_drinkable" -> "potion";
case "potion_bottle_splash" -> "splash_potion";
case "potion_bottle_lingering" -> "lingering_potion";