#Timeout crashed the game

2 messages · Page 1 of 1 (latest)

robust rampart
#

I did it, the Timeout system crashed my game, why do you think?

StartupEvents.registry('palladium:abilities', (event) => {
event.create('dhp/magnet_attraction')
.icon(palladium.createItemIcon('palladium:vibranium_circuit'))
.documentationDescription('I rule over all things')

.tick((entity, entry, holder, enabled) => {
setTimeout(() => {
if (enabled) {
entity.runCommandSilent('tp @e[type=item,distance=..5.425] ~ ~ ~');
}
}, 1000);
});
});```
gilded jungleBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!