reorganize some events
This commit is contained in:
parent
5393d09f06
commit
a55d9a51d2
3 changed files with 18 additions and 21 deletions
|
|
@ -1,8 +0,0 @@
|
|||
"use strict";
|
||||
|
||||
PlayerEvents.tick((event) => {
|
||||
const { player } = event;
|
||||
if (player.age % 100 === 0 && player.legsArmorItem === 'gtceu:nanomuscle_leggings') {
|
||||
player.potionEffects.add("minecraft:speed", 350, 0, true, false);
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue