--- a/net/minecraft/server/commands/DebugCommand.java
+++ b/net/minecraft/server/commands/DebugCommand.java
@@ -262,6 +_,13 @@
             return true;
         }
 
+        // Paper start
+        @Override
+        public org.bukkit.command.CommandSender getBukkitSender(final CommandSourceStack wrapper) {
+            throw new UnsupportedOperationException();
+        }
+        // Paper end
+
         @Override
         public void close() {
             IOUtils.closeQuietly((Writer)this.output);
