anon-iclr-submission/benchname-bug-localization huggingface dataset:
Repository: geysermc/geyser
Issue: Xbox cannot seem to join the server but other platforms can

**Describe the bug**
Ive attempted to get my xbox to join my Geyser server running the inventory branch and floodgate and i receive the error "We were unable to connect you."

**To Reproduce**
Steps to reproduce the behavior:
1. Attempt to join the Geyser Lan game on a xbox
4. See error

**Expected behavior**
To be able to join

Add any other context about the problem here.
I attempted to join with the Xbox Geyser branch but it didnt seem to work either


Changed files:
common/src/main/java/org/geysermc/floodgate/util/DeviceOS.java

diff --git a/common/src/main/java/org/geysermc/floodgate/util/DeviceOS.java b/common/src/main/java/org/geysermc/floodgate/util/DeviceOS.java
index ee14fc90..0705d169 100644
--- a/common/src/main/java/org/geysermc/floodgate/util/DeviceOS.java
+++ b/common/src/main/java/org/geysermc/floodgate/util/DeviceOS.java
@@ -42,7 +42,8 @@ public enum DeviceOS {
     DEDICATED,
     ORBIS,
     NX,
-    SWITCH;
+    SWITCH,
+    XBOX_ONE;
 
     private static final DeviceOS[] VALUES = values();
Repository: geysermc/geyser
Issue: Pistons disappear from inventory when getting them from creative tab

**Description**
Piston items dissapear from inventory after obtaining them via creative tab.
(getting them from the ground works well both on creative and survival)

**To Reproduce**
1. Make sure your gamemode is creative
2. Find piston or sticky piston in your creative tab
3. Try to put it to your inventory

**Expected behavior**
Pistons shouldn't disappear from your inventory.

**Server Version**
Paper 1.15.2 git-183

**Geyser Version**
inventory #14

**Minecraft: Bedrock Edition Version**
1.14.30


Changed files:
connector/src/main/java/org/geysermc/connector/network/translators/item/ItemTranslator.java

diff --git a/connector/src/main/java/org/geysermc/connector/network/translators/item/ItemTranslator.java b/connector/src/main/java/org/geysermc/connector/network/translators/item/ItemTranslator.java
index 8ca95159..0bcbf4b7 100644
--- a/connector/src/main/java/org/geysermc/connector/network/translators/item/ItemTranslator.java
+++ b/connector/src/main/java/org/geysermc/connector/network/translators/item/ItemTranslator.java
@@ -118,6 +118,13 @@ public class ItemTranslator {
                 return itemEntry;
             }
         }
+        // If item find was unsuccessful first time, we try again while ignoring damage
+        // Fixes piston, sticky pistons, dispensers and droppers turning into air from creative inventory
+        for (ItemEntry itemEntry : Toolbox.ITEM_ENTRIES.values()) {
+            if (itemEntry.getBedrockId() == data.getId()) {
+                return itemEntry;
+            }
+        }
 
         GeyserConnector.getInstance().getLogger().debug("Missing mapping for bedrock item " + data.getId() + ":" + data.getDamage());
         return ItemEntry.AIR;
Repository: geysermc/geyser
Issue: Swimming Action Bugged

**Describe the bug**
Once you enter swimming mode, you can't exit it resulting in death by Drowning as you cannot reach land.

**To Reproduce**
Steps to reproduce the behavior:
1. Dive into an Ocean
2. Enter Swimming Mode
4. Try exiting Swimming Mode

**Expected behavior**
Enter and exit swimming mode based on Client Input. 

**Screenshots**
If necessary, I will upload footage of the bug in action.

**Server version**
This server is running Paper version git-Paper-98 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)

**Geyser version**
Jenkins Latest 

**Bedrock version**
1.14.2

**Additional context**
currently nothing else to say. 

Changed files:
connector/src/main/java/org/geysermc/connector/network/translators/bedrock/BedrockActionTranslator.java

diff --git a/connector/src/main/java/org/geysermc/connector/network/translators/bedrock/BedrockActionTranslator.java b/connector/src/main/java/org/geysermc/connector/network/translators/bedrock/BedrockActionTranslator.java
index 56e573c6..e5bec698 100644
--- a/connector/src/main/java/org/geysermc/connector/network/translators/bedrock/BedrockActionTranslator.java
+++ b/connector/src/main/java/org/geysermc/connector/network/translators/bedrock/BedrockActionTranslator.java
@@ -56,6 +56,14 @@ public class BedrockActionTranslator extends PacketTranslator<PlayerActionPacket
                 // Don't put anything here as respawn is already handled
                 // in BedrockRespawnTranslator
                 break;
+            case START_SWIMMING:
+                ClientPlayerStatePacket startSwimPacket = new ClientPlayerStatePacket((int) entity.getEntityId(), PlayerState.START_SPRINTING);
+                session.getDownstream().getSession().send(startSwimPacket);
+                break;
+            case STOP_SWIMMING:
+                ClientPlayerStatePacket stopSwimPacket = new ClientPlayerStatePacket((int) entity.getEntityId(), PlayerState.STOP_SPRINTING);
+                session.getDownstream().getSession().send(stopSwimPacket);
+                break;
             case START_GLIDE:
             case STOP_GLIDE:
                 ClientPlayerStatePacket glidePacket = new ClientPlayerStatePacket((int) entity.getEntityId(), PlayerState.START_ELYTRA_FLYING);