From 3898e4f7e695e81b6c1064daf1844bed35849ef1 Mon Sep 17 00:00:00 2001 From: Camotoy <20743703+Camotoy@users.noreply.github.com> Date: Thu, 26 May 2022 20:02:02 -0400 Subject: [PATCH] add Swift Sneak enchantment to known enchantments --- .../org/geysermc/geyser/inventory/GeyserEnchantOption.java | 2 +- .../java/org/geysermc/geyser/inventory/item/Enchantment.java | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/geysermc/geyser/inventory/GeyserEnchantOption.java b/core/src/main/java/org/geysermc/geyser/inventory/GeyserEnchantOption.java index 2bd4b6756..94462268e 100644 --- a/core/src/main/java/org/geysermc/geyser/inventory/GeyserEnchantOption.java +++ b/core/src/main/java/org/geysermc/geyser/inventory/GeyserEnchantOption.java @@ -46,7 +46,7 @@ public class GeyserEnchantOption { */ private static final List ENCHANT_NAMES = Arrays.asList("tougher armor", "lukeeey", "fall better", "explode less", "camo toy", "breathe better", "rtm five one six", "armor stab", "water walk", "you are elsa", - "tim two zero three", "fast walk nether", "oof ouch owie", "enemy on fire", "spider sad", "aj ferguson", "redned", + "tim two zero three", "fast walk nether", "davchoo", "oof ouch owie", "enemy on fire", "spider sad", "aj ferguson", "redned", "more items thx", "long sword reach", "fast tool", "give me block", "less breaky break", "cube craft", "strong arrow", "fist arrow", "spicy arrow", "many many arrows", "geyser", "come here fish", "i like this", "stabby stab", "supreme mortal", "avatar i guess", "more arrows", "fly finder seventeen", "in and out", diff --git a/core/src/main/java/org/geysermc/geyser/inventory/item/Enchantment.java b/core/src/main/java/org/geysermc/geyser/inventory/item/Enchantment.java index 9872b9441..bcbfe3e17 100644 --- a/core/src/main/java/org/geysermc/geyser/inventory/item/Enchantment.java +++ b/core/src/main/java/org/geysermc/geyser/inventory/item/Enchantment.java @@ -67,7 +67,8 @@ public enum Enchantment { MULTISHOT, PIERCING, QUICK_CHARGE, - SOUL_SPEED; + SOUL_SPEED, + SWIFT_SNEAK; private static final Enchantment[] VALUES = values(); @@ -109,6 +110,7 @@ public enum Enchantment { FROST_WALKER, BINDING_CURSE, SOUL_SPEED, + SWIFT_SNEAK, SHARPNESS, SMITE, BANE_OF_ARTHROPODS,