mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 04:33:56 -07:00
Changed hatchingType to MobType from CreatureType as refactoring (and so plugin breaking) will take place in a week.
This commit is contained in:
@@ -190,7 +190,7 @@ public class EntityEgg extends Entity {
|
|||||||
if (!hatching) {
|
if (!hatching) {
|
||||||
numHatching = 0;
|
numHatching = 0;
|
||||||
}
|
}
|
||||||
CreatureType hatchingType = CreatureType.CHICKEN;
|
MobType hatchingType = MobType.CHICKEN;
|
||||||
|
|
||||||
if (this.ak instanceof EntityPlayer) {
|
if (this.ak instanceof EntityPlayer) {
|
||||||
CraftServer server = ((WorldServer) this.world).getServer();
|
CraftServer server = ((WorldServer) this.world).getServer();
|
||||||
|
Reference in New Issue
Block a user