mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
Refactor get/setChestPlate to Chestplate. Addresses BUKKIT-3189
This method was inconsistent with previous methods. By: feildmaster <admin@feildmaster.com>
This commit is contained in:
parent
87f538df31
commit
a5f7cfdd0a
1 changed files with 2 additions and 2 deletions
|
@ -145,7 +145,7 @@ public interface EntityEquipment {
|
||||||
*
|
*
|
||||||
* @return the chance of the chest plate being dropped (1 for players)
|
* @return the chance of the chest plate being dropped (1 for players)
|
||||||
*/
|
*/
|
||||||
float getChestPlateDropChance();
|
float getChestplateDropChance();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the chance of the chest plate being dropped upon this creature's death
|
* Sets the chance of the chest plate being dropped upon this creature's death
|
||||||
|
@ -156,7 +156,7 @@ public interface EntityEquipment {
|
||||||
* @param chance of the chest plate being dropped
|
* @param chance of the chest plate being dropped
|
||||||
* @throws UnsupportedOperationException when called on players
|
* @throws UnsupportedOperationException when called on players
|
||||||
*/
|
*/
|
||||||
void setChestPlateDropChance(float chance);
|
void setChestplateDropChance(float chance);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the chance of the leggings being dropped upon this creature's death
|
* Gets the chance of the leggings being dropped upon this creature's death
|
||||||
|
|
Loading…
Reference in a new issue