From 0fb1ac5f5ddce8dae77ab2be816d8684c93c4ff2 Mon Sep 17 00:00:00 2001 From: Snowiiii Date: Wed, 6 Nov 2024 07:07:17 +0100 Subject: [PATCH] Fix: build --- pumpkin/src/entity/player.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)),