3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 21:10:17 +01:00

When deprecating, the alternative should be provided.

Dieser Commit ist enthalten in:
EvilSeph 2011-02-19 06:02:27 -05:00
Ursprung 41fe211919
Commit bddceeaf51

Datei anzeigen

@ -49,14 +49,14 @@ public class CraftCreatureSpawner extends CraftBlockState implements CreatureSpa
}
/**
* @deprecated
* @deprecated Use getCreatureType() instead.
*/
public MobType getMobType() {
return MobType.fromName(spawner.h);
}
/**
* @deprecated
* @deprecated Use setCreatureType() instead.
*/
public void setMobType(MobType mobType) {
spawner.h = mobType.getName();
@ -64,14 +64,14 @@ public class CraftCreatureSpawner extends CraftBlockState implements CreatureSpa
}
/**
* @deprecated
* @deprecated Use getCreatureTypeId() instead.
*/
public String getMobTypeId() {
return spawner.h;
}
/**
* @deprecated
* @deprecated Use setCreatureTypeId() instead.
*/
public void setMobTypeId(String mobType) {
// Verify input