--- ../src-base/minecraft/net/minecraft/command/CommandHandler.java
+++ ../src-work/minecraft/net/minecraft/command/CommandHandler.java
@@ -48,6 +48,16 @@
         }
         else if (icommand.func_71519_b(p_71556_1_))
         {
+            net.minecraftforge.event.CommandEvent event = new net.minecraftforge.event.CommandEvent(icommand, p_71556_1_, astring);
+            if (net.minecraftforge.common.MinecraftForge.EVENT_BUS.post(event))
+            {
+                if (event.exception != null)
+                {
+                    com.google.common.base.Throwables.propagateIfPossible(event.exception);
+                }
+                return 1;
+            }
+
             if (i > -1)
             {
                 List list = PlayerSelector.func_179656_b(p_71556_1_, astring[i], Entity.class);
