Fixed /wh and /worldhandler denying other commands in multiplayer
This commit is contained in:
@@ -11,7 +11,7 @@ apply plugin: 'net.minecraftforge.gradle.forge'
|
|||||||
//Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
|
//Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
|
||||||
|
|
||||||
|
|
||||||
version = "1.12.2-2.1"
|
version = "1.12.2-2.1.1"
|
||||||
group = "src.worldhandler.main.WorldHandler" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
group = "src.worldhandler.main.WorldHandler" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||||
archivesBaseName = "WorldHandler"
|
archivesBaseName = "WorldHandler"
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ public class FakeCommandHandler extends CommandHandler
|
|||||||
|
|
||||||
public void tryCommand(ICommand command, ClientChatEvent event)
|
public void tryCommand(ICommand command, ClientChatEvent event)
|
||||||
{
|
{
|
||||||
if(event.getMessage().startsWith("/" + command.getName()) || event.getMessage().startsWith("/" + command.getName() + " "))
|
if(event.getMessage().equals("/" + command.getName()) || event.getMessage().startsWith("/" + command.getName() + " "))
|
||||||
{
|
{
|
||||||
this.fakeCommand(command, event);
|
this.fakeCommand(command, event);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ public class Main
|
|||||||
public static final String MODID = "worldhandler";
|
public static final String MODID = "worldhandler";
|
||||||
public static final String MC_VERSION = "1.12.2";
|
public static final String MC_VERSION = "1.12.2";
|
||||||
public static final String MC_COMPATIBLE = "1.12";
|
public static final String MC_COMPATIBLE = "1.12";
|
||||||
public static final String VERSION = "2.1";
|
public static final String VERSION = "2.1.1";
|
||||||
public static final String FULL_VERSION = MC_VERSION + "-" + VERSION;
|
public static final String FULL_VERSION = MC_VERSION + "-" + VERSION;
|
||||||
public static final String NAME_AND_VERSION = NAME + " " + FULL_VERSION;
|
public static final String NAME_AND_VERSION = NAME + " " + FULL_VERSION;
|
||||||
public static final String URL = "https://minecraft.curseforge.com/projects/world-handler-command-gui";
|
public static final String URL = "https://minecraft.curseforge.com/projects/world-handler-command-gui";
|
||||||
|
|||||||
15
version.json
15
version.json
@@ -2,12 +2,12 @@
|
|||||||
"homepage": "https://minecraft.curseforge.com/projects/world-handler-command-gui",
|
"homepage": "https://minecraft.curseforge.com/projects/world-handler-command-gui",
|
||||||
"promos":
|
"promos":
|
||||||
{
|
{
|
||||||
"1.12.2-latest": "2.1",
|
"1.12.2-latest": "2.1.1",
|
||||||
"1.12.2-recommended": "2.1",
|
"1.12.2-recommended": "2.1.1",
|
||||||
"1.12.1-latest": "2.1",
|
"1.12.1-latest": "2.1.1",
|
||||||
"1.12.1-recommended": "2.1",
|
"1.12.1-recommended": "2.1.1",
|
||||||
"1.12-latest": "2.1",
|
"1.12-latest": "2.1.1",
|
||||||
"1.12-recommended": "2.1",
|
"1.12-recommended": "2.1.1",
|
||||||
"1.11.2-latest": "1.46",
|
"1.11.2-latest": "1.46",
|
||||||
"1.11.2-recommended": "1.46",
|
"1.11.2-recommended": "1.46",
|
||||||
"1.11-latest": "1.42",
|
"1.11-latest": "1.42",
|
||||||
@@ -41,6 +41,7 @@
|
|||||||
},
|
},
|
||||||
"1.12.2":
|
"1.12.2":
|
||||||
{
|
{
|
||||||
|
"2.1.1": "- Fixed /wh and /worldhandler denying other commands in multiplayer",
|
||||||
"2.1": "- Added option to change the max slider values\n- Fixed Sign Editor showing wrong color\n- Removed Headlines for better visibility\n- Updated Translations",
|
"2.1": "- Added option to change the max slider values\n- Fixed Sign Editor showing wrong color\n- Removed Headlines for better visibility\n- Updated Translations",
|
||||||
"2.0": "- Recode 2.0\n- Added headline color as a config option\n- Added option tag and trigger for scoreboard players\n- Added reset for advancements\n- Updated config file format\n- Updated translations\n- Updated layout\n- Updated biome indicator (should work better with modded biomes)\n- Changed command syntax display\n- Changed /worldhandler show to /worldhandler display\n- Fixed setworldspawn and spawnpoint\n- Fixed equipment not working for summon\n- Fixed wrong translation for biome indicator settings\n- Fixed translation typo\n- Fixed potential config file issues\n- Fixed custom potions not having an item model\n- Fixed /worldhandler display not showing the mouse cursor\n- /worldhandler and /wh now work in multiplayer\n- Removed custom data from summon\n- Potions can now be combined if given as an item\n- Open source and signed",
|
"2.0": "- Recode 2.0\n- Added headline color as a config option\n- Added option tag and trigger for scoreboard players\n- Added reset for advancements\n- Updated config file format\n- Updated translations\n- Updated layout\n- Updated biome indicator (should work better with modded biomes)\n- Changed command syntax display\n- Changed /worldhandler show to /worldhandler display\n- Fixed setworldspawn and spawnpoint\n- Fixed equipment not working for summon\n- Fixed wrong translation for biome indicator settings\n- Fixed translation typo\n- Fixed potential config file issues\n- Fixed custom potions not having an item model\n- Fixed /worldhandler display not showing the mouse cursor\n- /worldhandler and /wh now work in multiplayer\n- Removed custom data from summon\n- Potions can now be combined if given as an item\n- Open source and signed",
|
||||||
"1.50": "- Fixed Biome Indicator black screen",
|
"1.50": "- Fixed Biome Indicator black screen",
|
||||||
@@ -50,6 +51,7 @@
|
|||||||
},
|
},
|
||||||
"1.12.1":
|
"1.12.1":
|
||||||
{
|
{
|
||||||
|
"2.1.1": "- Fixed /wh and /worldhandler denying other commands in multiplayer",
|
||||||
"2.1": "- Added option to change the max slider values\n- Fixed Sign Editor showing wrong color\n- Removed Headlines for better visibility\n- Updated Translations",
|
"2.1": "- Added option to change the max slider values\n- Fixed Sign Editor showing wrong color\n- Removed Headlines for better visibility\n- Updated Translations",
|
||||||
"2.0": "- Recodee 2.0\n- Added headline color as a config option\n- Added option tag and trigger for scoreboard players\n- Added reset for advancements\n- Updated config file format\n- Updated translations\n- Updated layout\n- Updated biome indicator (should work better with modded biomes)\n- Changed command syntax display\n- Changed /worldhandler show to /worldhandler display\n- Fixed setworldspawn and spawnpoint\n- Fixed equipment not working for summon\n- Fixed wrong translation for biome indicator settings\n- Fixed translation typo\n- Fixed potential config file issues\n- Fixed custom potions not having an item model\n- Fixed /worldhandler display not showing the mouse cursor\n- /worldhandler and /wh now work in multiplayer\n- Removed custom data from summon\n- Potions can now be combined if given as an item\n- Open source and signed",
|
"2.0": "- Recodee 2.0\n- Added headline color as a config option\n- Added option tag and trigger for scoreboard players\n- Added reset for advancements\n- Updated config file format\n- Updated translations\n- Updated layout\n- Updated biome indicator (should work better with modded biomes)\n- Changed command syntax display\n- Changed /worldhandler show to /worldhandler display\n- Fixed setworldspawn and spawnpoint\n- Fixed equipment not working for summon\n- Fixed wrong translation for biome indicator settings\n- Fixed translation typo\n- Fixed potential config file issues\n- Fixed custom potions not having an item model\n- Fixed /worldhandler display not showing the mouse cursor\n- /worldhandler and /wh now work in multiplayer\n- Removed custom data from summon\n- Potions can now be combined if given as an item\n- Open source and signed",
|
||||||
"1.50": "- Fixed Biome Indicator black screen",
|
"1.50": "- Fixed Biome Indicator black screen",
|
||||||
@@ -59,6 +61,7 @@
|
|||||||
},
|
},
|
||||||
"1.12":
|
"1.12":
|
||||||
{
|
{
|
||||||
|
"2.1.1": "- Fixed /wh and /worldhandler denying other commands in multiplayer",
|
||||||
"2.1": "- Added option to change the max slider values\n- Fixed Sign Editor showing wrong color\n- Removed Headlines for better visibility\n- Updated Translations",
|
"2.1": "- Added option to change the max slider values\n- Fixed Sign Editor showing wrong color\n- Removed Headlines for better visibility\n- Updated Translations",
|
||||||
"2.0": "- Recodee 2.0\n- Added headline color as a config option\n- Added option tag and trigger for scoreboard players\n- Added reset for advancements\n- Updated config file format\n- Updated translations\n- Updated layout\n- Updated biome indicator (should work better with modded biomes)\n- Changed command syntax display\n- Changed /worldhandler show to /worldhandler display\n- Fixed setworldspawn and spawnpoint\n- Fixed equipment not working for summon\n- Fixed wrong translation for biome indicator settings\n- Fixed translation typo\n- Fixed potential config file issues\n- Fixed custom potions not having an item model\n- Fixed /worldhandler display not showing the mouse cursor\n- /worldhandler and /wh now work in multiplayer\n- Removed custom data from summon\n- Potions can now be combined if given as an item\n- Open source and signed",
|
"2.0": "- Recodee 2.0\n- Added headline color as a config option\n- Added option tag and trigger for scoreboard players\n- Added reset for advancements\n- Updated config file format\n- Updated translations\n- Updated layout\n- Updated biome indicator (should work better with modded biomes)\n- Changed command syntax display\n- Changed /worldhandler show to /worldhandler display\n- Fixed setworldspawn and spawnpoint\n- Fixed equipment not working for summon\n- Fixed wrong translation for biome indicator settings\n- Fixed translation typo\n- Fixed potential config file issues\n- Fixed custom potions not having an item model\n- Fixed /worldhandler display not showing the mouse cursor\n- /worldhandler and /wh now work in multiplayer\n- Removed custom data from summon\n- Potions can now be combined if given as an item\n- Open source and signed",
|
||||||
"1.50": "- Fixed Biome Indicator black screen",
|
"1.50": "- Fixed Biome Indicator black screen",
|
||||||
|
|||||||
Reference in New Issue
Block a user