ModelHelper: remove useless contract ()

This commit is contained in:
apple502j 2022-08-07 03:04:31 +09:00 committed by GitHub
parent 83a865928d
commit 84f79e9d2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,6 @@ import java.util.Arrays;
import java.util.List;
import com.google.common.collect.ImmutableList;
import org.jetbrains.annotations.Contract;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.render.model.BakedQuad;
@ -57,7 +56,6 @@ public final class ModelHelper {
* optionally including the null face. (Use < or <= {@link #NULL_FACE_ID}
* to exclude or include the null value, respectively.)
*/
@Contract("null -> null")
public static Direction faceFromIndex(int faceIndex) {
return FACES[faceIndex];
}