[MCPE-17576] If you /give splash_potion with an invalid damage id the game will crash as soon as you load the world/join the realm. Created: 22/Oct/16  Updated: 10/Apr/17  Resolved: 02/Dec/16

Status: Resolved
Project: Minecraft (Bedrock codebase)
Component/s: None
Affects Version/s: 0.16.0
Fix Version/s: 1.0.0.0

Type: Bug
Reporter: Flagers
Resolution: Fixed Votes: 0
Labels: command, crash, inventory, item, realms, world

Issue Links:
Relates
relates to MCPE-17012 Give Skull Command Bug Resolved
Confirmation Status: Confirmed
Platform: Windows
CHK:

 Description   

The game always crashes as soon as I join the realm/open the world after I executed the command /give splash_potion with an invalid damage.

Steps for reproduction:
1. Make a world/realm
2. Enable cheats
3. Execute the command "/give splash_potion 1 827
4. If done correctly the game will crash and will crash again and again if you load the world used for testing.

Specifications:
Operating System: Windows 10 Pro 64-bit (10.0, Build 14393) (14393.rs1_release_inmarket.161004-2338)
Language: English (Regional Setting: English)
System Manufacturer: Apple Inc.
System Model: MacBookPro9,2
BIOS: Default System BIOS
Processor: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz (2 Cores, up to 4 Threads), ~2.5GHz
Memory: 8192MB RAM
Available OS Memory: 8098MB RAM



 Comments   
Comment by [Mojang] Mega_Spud (Jay Wells) [ 02/Dec/16 ]

This appears fixed as of 1.0.0.0 beta.

Giving a splash potion with an invalid ID will just give a splash water potion. Tested with a couple of id's and also reloaded the world afterwards.

Comment by just 1guitar [ 22/Oct/16 ]

pocketinv editor doesn't require a root😀, and just giving a temporary fix for those who may have done this in a world they play on often

Comment by Flagers [ 22/Oct/16 ]

Still, what if you're on Windows 10 Beta Edition? What if you don't have an android device. What If it's not rooted. There are a ton of what ifs and Mojang needs to do something about this. I lost a whole realm world due to this.

Comment by just 1guitar [ 22/Oct/16 ]

using an inventory editor like pocketing, and removing the item fixes the crashing, my guess is that the game tries to load an item that doesn't exist and crashes because of the fact.

Generated at Sat Jan 11 15:16:00 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.