mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-05 20:12:54 +00:00
Stick override annotation
This commit is contained in:
parent
731455649e
commit
e5b1e6c0ad
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ public class BasePotionDataProvider extends PotionMetaProvider {
|
||||||
.put(14, PotionType.INVISIBILITY)
|
.put(14, PotionType.INVISIBILITY)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
|
@Override
|
||||||
public ItemStack createPotionItem(Material initial, int effectId) throws IllegalArgumentException {
|
public ItemStack createPotionItem(Material initial, int effectId) throws IllegalArgumentException {
|
||||||
int damageValue = getBit(effectId, 0) +
|
int damageValue = getBit(effectId, 0) +
|
||||||
2 * getBit(effectId, 1) +
|
2 * getBit(effectId, 1) +
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue