mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Creative Mode KBM Swap
When in creative, pressing InventoryKey(E) will now open the creative menu. To open inventory in creative, you press the CraftKey(R). This better suits with Java(and Bedrock I think)
This commit is contained in:
parent
7d8ddba294
commit
02cfcf6850
|
|
@ -1485,6 +1485,10 @@ void Minecraft::run_middle()
|
||||||
{
|
{
|
||||||
ui.CloseUIScenes(i);
|
ui.CloseUIScenes(i);
|
||||||
}
|
}
|
||||||
|
else if(gameMode->hasInfiniteItems())
|
||||||
|
{
|
||||||
|
localplayers[i]->ullButtonsPressed|=1LL<<MINECRAFT_ACTION_CRAFTING;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
localplayers[i]->ullButtonsPressed|=1LL<<MINECRAFT_ACTION_INVENTORY;
|
localplayers[i]->ullButtonsPressed|=1LL<<MINECRAFT_ACTION_INVENTORY;
|
||||||
|
|
@ -1500,6 +1504,10 @@ void Minecraft::run_middle()
|
||||||
{
|
{
|
||||||
ui.CloseUIScenes(i);
|
ui.CloseUIScenes(i);
|
||||||
}
|
}
|
||||||
|
else if(gameMode->hasInfiniteItems())
|
||||||
|
{
|
||||||
|
localplayers[i]->ullButtonsPressed|=1LL<<MINECRAFT_ACTION_INVENTORY;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
localplayers[i]->ullButtonsPressed|=1LL<<MINECRAFT_ACTION_CRAFTING;
|
localplayers[i]->ullButtonsPressed|=1LL<<MINECRAFT_ACTION_CRAFTING;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue