From 3d41783c71b1f667b0b5d4c02e5748fa62ebc41f Mon Sep 17 00:00:00 2001 From: JappaWakka Date: Sun, 28 Aug 2022 14:29:09 +0200 Subject: [PATCH] =?UTF-8?q?Failsafe=20for=20Pok=C3=A9mon=20player=20textur?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- P3D/Entites/Other/OwnPlayer.vb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/P3D/Entites/Other/OwnPlayer.vb b/P3D/Entites/Other/OwnPlayer.vb index ed0eacd30..11de3b64f 100644 --- a/P3D/Entites/Other/OwnPlayer.vb +++ b/P3D/Entites/Other/OwnPlayer.vb @@ -28,12 +28,11 @@ Public Sub SetTexture(ByVal TextureID As String, ByVal UseGameJoltID As Boolean) Me.SkinName = TextureID - Dim texturePath As String = "Textures\NPC\" - If TextureID.StartsWith("[POKEMON|N]") Or TextureID.StartsWith("[POKEMON|N]") Then + If TextureID.StartsWith("[POKEMON|N]") Or TextureID.StartsWith("[Pokémon|N]") Then TextureID = TextureID.Remove(0, 11) texturePath = "Pokemon\Overworld\Normal\" - ElseIf TextureID.StartsWith("[POKEMON|S]") Or TextureID.StartsWith("[POKEMON|S]") Then + ElseIf TextureID.StartsWith("[POKEMON|S]") Or TextureID.StartsWith("[Pokémon|S]") Then TextureID = TextureID.Remove(0, 11) texturePath = "Pokemon\Overworld\Shiny\" End If