diff --git a/pumpkin/src/entity/player.rs b/pumpkin/src/entity/player.rs index 299a2222b..aff07d010 100644 --- a/pumpkin/src/entity/player.rs +++ b/pumpkin/src/entity/player.rs @@ -497,8 +497,8 @@ impl Player { 0.into(), "minecraft:overworld", 0, // seed - self.gamemode.load().to_u8().unwrap(), - self.gamemode.load().to_i8().unwrap(), + self.gamemode.load() as u8, + self.gamemode.load() as i8, false, false, Some(("minecraft:overworld", death_location)),