diff --git a/CraftBukkit-Patches/0074-Add-VanillaCommand-Wrapper-to-Support-New-Commands.patch b/CraftBukkit-Patches/0074-Add-VanillaCommand-Wrapper-to-Support-New-Commands.patch index 124648482..8dd5d8d7c 100644 --- a/CraftBukkit-Patches/0074-Add-VanillaCommand-Wrapper-to-Support-New-Commands.patch +++ b/CraftBukkit-Patches/0074-Add-VanillaCommand-Wrapper-to-Support-New-Commands.patch @@ -1,4 +1,4 @@ -From ef1c785158ebcb31690699805174834ec2186f6a Mon Sep 17 00:00:00 2001 +From e9731cbc6edf8f3d913c9cd54e87da240ccb67cf Mon Sep 17 00:00:00 2001 From: Thinkofdeath Date: Wed, 18 Dec 2013 10:32:15 +1100 Subject: [PATCH] Add VanillaCommand Wrapper to Support New Commands @@ -76,7 +76,7 @@ index 0ac8f52..fb346f6 100644 public List tabCompleteChat(Player player, String message) { diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java -index c4a5488..1befcb9 100644 +index c4a5488..b3f2647 100644 --- a/src/main/java/org/spigotmc/SpigotConfig.java +++ b/src/main/java/org/spigotmc/SpigotConfig.java @@ -6,6 +6,7 @@ import java.io.IOException; @@ -106,7 +106,7 @@ index c4a5488..1befcb9 100644 + set( "commands.replace-commands", config.getStringList( "replace-commands" ) ); + config.set( "replace-commands", null ); + } -+ for ( String command : (List) getList( "commands.replace-commands", Arrays.asList( "setblock", "summon", "testforblock" ) ) ) ++ for ( String command : (List) getList( "commands.replace-commands", Arrays.asList( "setblock", "summon", "testforblock", "tellraw" ) ) ) + { + SimpleCommandMap.removeFallback( command ); + VanillaCommandWrapper.allowedCommands.add( command ); @@ -314,5 +314,5 @@ index 0000000..a6c76cc + } +} -- -1.8.3.2 +1.8.4.msysgit.0