From a29424f5b3ed655db780110c50554f38540abc73 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Wed, 20 May 2020 15:06:50 +0100 Subject: [PATCH] UIProfile: name constants as they appear in the MC user-facing settings I think these names are stupid, but it'll be easier for people to figure out what they refer to if they match the client-sided naming. --- src/pocketmine/network/mcpe/protocol/types/UIProfile.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pocketmine/network/mcpe/protocol/types/UIProfile.php b/src/pocketmine/network/mcpe/protocol/types/UIProfile.php index d496636c0..5103880ce 100644 --- a/src/pocketmine/network/mcpe/protocol/types/UIProfile.php +++ b/src/pocketmine/network/mcpe/protocol/types/UIProfile.php @@ -29,6 +29,6 @@ final class UIProfile{ //NOOP } - public const DESKTOP = 0; - public const MOBILE = 1; + public const CLASSIC = 0; + public const POCKET = 1; }