14 mars 2014, 18:41

j’avais fait ça:


int block = world.getBlockId(x, y, z);
if(block == Import.Rubanvil.blockID)
{
return new ContainerRubanvil(player.inventory, world, x, y, z, player);
}


int block = world.getBlockId(x, y, z);
if(block == Import.Rubanvil.blockID)
{
return new GuiRubanvil(player.inventory, world, x, y, z);
}

Mais si cela te semble bon c’est que mon erreur vient d’autre part, et que je vais devoir fouiller