@SubscribeEvent
public void onGuiOpen(final GuiOpenEvent event) {
if (event.getGui() instanceof GuiContainerCreative && !(event.getGui() instanceof GuiCreativeInventoryExtended)) {
event.setGui(new GuiCreativeInventoryExtended(Minecraft.getMinecraft().player));
}
}