Add imc events to allow for other mods to expand the gui

This commit is contained in:
Marcel Konrad
2019-04-26 17:07:13 +02:00
parent 13841429f7
commit 5c013509e3
2 changed files with 33 additions and 12 deletions

View File

@@ -1,11 +1,12 @@
package exopandora.worldhandler.gui.category;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.annotation.Nullable;
import com.google.common.collect.Lists;
import exopandora.worldhandler.Main;
import exopandora.worldhandler.gui.content.Content;
import exopandora.worldhandler.gui.content.Contents;
@@ -36,7 +37,7 @@ public class Category extends ForgeRegistryEntry<Category>
public Category(Content... contents)
{
this.contents = Arrays.asList(contents);
this.contents = Lists.newArrayList(contents);
}
public Category add(Content content)