Backport to 1.18.2
This commit is contained in:
parent
1fbd10471f
commit
c344b5c0b6
67 changed files with 3335 additions and 3858 deletions
|
@ -80,7 +80,7 @@ public class FlightEnchantment extends Enchantment
|
|||
{
|
||||
if(event.side == LogicalSide.CLIENT) return;
|
||||
|
||||
if(TICKS.getAndIncrement() >= (5*20))
|
||||
if(TICKS.getAndIncrement() >= (10*20))
|
||||
{
|
||||
TICKS.set(0);
|
||||
|
||||
|
@ -104,7 +104,7 @@ public class FlightEnchantment extends Enchantment
|
|||
|
||||
if(hasFlight)
|
||||
{
|
||||
MobEffectInstance inst = new MobEffectInstance(ModEffects.FLIGHT.get(), -1, 0, false, false, true);
|
||||
MobEffectInstance inst = new MobEffectInstance(ModEffects.FLIGHT.get(), 30*20, 0, false, false, true);
|
||||
|
||||
event.player.addEffect(inst);
|
||||
}
|
||||
|
|
|
@ -58,7 +58,7 @@ public class NightVisionEnchantment extends Enchantment
|
|||
{
|
||||
if(event.side == LogicalSide.CLIENT) return;
|
||||
|
||||
if(TICKS.getAndIncrement() >= (2*20))
|
||||
if(TICKS.getAndIncrement() >= (5*20))
|
||||
{
|
||||
TICKS.set(0);
|
||||
|
||||
|
|
Reference in a new issue