specify withoutPreFormatting return type

This commit is contained in:
D0gma_ 2023-08-18 21:27:22 +02:00 committed by GitHub
parent 131e44bc75
commit f2b5c4fd4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -29,7 +29,7 @@ public class AdventureComponentWrapper implements ComponentWrapper {
} }
@Override @Override
public @NotNull ComponentWrapper withoutPreFormatting() { public @NotNull AdventureComponentWrapper withoutPreFormatting() {
return new AdventureComponentWrapper(AdventureComponentUtils.withoutPreFormatting(component)); return new AdventureComponentWrapper(AdventureComponentUtils.withoutPreFormatting(component));
} }