From 0fbde2862df08fa8fca2d8cbe2997fc0a492a53f Mon Sep 17 00:00:00 2001 From: Thinkofdeath Date: Sat, 18 Jan 2014 13:21:13 +0000 Subject: [PATCH] Add /tellraw to the vanilla commands defaults --- ...d-VanillaCommand-Wrapper-to-Support-New-Commands.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 124648482b..8dd5d8d7c0 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