14 juil. 2020, 16:01

Ben j’ai rajouté ça

if(!event.getEntity().world.isRemote) 

et ça fonctionne donc merci