You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param shallCacheItems if it shall cache items and slots in this class, other case use {@link CreateMenus#getMenuButtonsCache()} to cache it own class.
58
-
* @deprecated plugin and inventorySize will be removed, recplaced with method with out.
* @param fillSlots Witch slots you want fill with items.
70
-
* @param fillItems List of items you want parse inside gui.
71
-
* @param shallCacheItems if it shall cache items and slots in this class, other case use {@link CreateMenus#getMenuButtonsCache()} to cache it own class.
72
-
* @deprecated plugin and inventorySize will be removed, recplaced with method with out.
* Create menu instance. With out any aguments. Recomend you set al lest inventory/menu size.
81
29
*/
82
30
publicMenuHolder() {
83
-
super();
31
+
this(null, null, false);
84
32
}
85
33
86
34
/**
@@ -91,7 +39,7 @@ public MenuHolder() {
91
39
*/
92
40
93
41
publicMenuHolder(finalList<?> fillItems) {
94
-
super(fillItems);
42
+
this(null, fillItems, false);
95
43
}
96
44
97
45
/**
@@ -100,7 +48,7 @@ public MenuHolder(final List<?> fillItems) {
100
48
* @param shallCacheItems if it shall cache items and slots in this class, other case use {@link CreateMenus#getMenuButtonsCache()} to cache it own class.
101
49
*/
102
50
publicMenuHolder(finalbooleanshallCacheItems) {
103
-
super(shallCacheItems);
51
+
this(null, null, shallCacheItems);
104
52
}
105
53
106
54
/**
@@ -110,7 +58,7 @@ public MenuHolder(final boolean shallCacheItems) {
110
58
* @param fillItems List of items you want parse inside gui on one or several pages.
0 commit comments