mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 11:49:12 +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)
|
||||
.build();
|
||||
|
||||
@Override
|
||||
public ItemStack createPotionItem(Material initial, int effectId) throws IllegalArgumentException {
|
||||
int damageValue = getBit(effectId, 0) +
|
||||
2 * getBit(effectId, 1) +
|
||||
|
|
Loading…
Reference in a new issue