Skip to content

Commit 6034384

Browse files
committed
make CraftCow extends CraftAbstractCow
1 parent 49117c0 commit 6034384

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package org.bukkit.block;
22

33
/**
4-
* Represents a captured state of a test block.
4+
* Represents a captured state of a test instance block.
55
*/
66
public interface TestInstanceBlock extends TileState {
77
}

paper-api/src/main/java/org/bukkit/entity/AbstractCow.java

-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
package org.bukkit.entity;
22

3-
import io.papermc.paper.registry.RegistryAccess;
4-
import io.papermc.paper.registry.RegistryKey;
5-
import org.bukkit.Keyed;
6-
import org.bukkit.NamespacedKey;
73
import org.jspecify.annotations.NullMarked;
84

95
/**

paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftCow.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import org.jspecify.annotations.NullMarked;
1313

1414
@NullMarked
15-
public class CraftCow extends CraftAnimals implements Cow {
15+
public class CraftCow extends CraftAbstractCow implements Cow {
1616

1717
public CraftCow(CraftServer server, net.minecraft.world.entity.animal.Cow entity) {
1818
super(server, entity);

0 commit comments

Comments
 (0)