8000 Clean up NMS_Common to make it compile for all supported versions by DerEchtePilz · Pull Request #641 · CommandAPI/CommandAPI · GitHub
[go: up one dir, main page]

Skip to content

Clean up NMS_Common to make it compile for all supported versions #641

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Apr 22, 2025
Prev Previous commit
Next Next commit
Remove unused method
  • Loading branch information
DerEchtePilz committed Apr 22, 2025
commit a29c068ea4e5a375028aecf5699ba7c791f92568
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,10 @@
import net.minecraft.commands.arguments.coordinates.Vec3Argument;
import net.minecraft.commands.arguments.item.FunctionArgument;
import net.minecraft.core.Direction;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.phys.Vec2;
import org.bukkit.Axis;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.NamespacedKey;
import org.bukkit.OfflinePlayer;
import org.bukkit.Sound;
import org.bukkit.command.CommandSender;
Expand All @@ -85,9 +83,6 @@
* versions.
*/
public abstract class NMS_Common extends CommandAPIBukkit<CommandSourceStack> {
private static NamespacedKey fromResourceLocation(ResourceLocation key) {
return NamespacedKey.fromString(key.getNamespace() + ":" + key.getPath());
}

@Override
public final ArgumentType<?> _ArgumentAngle() {
Expand Down
0