diff --git a/src/main/java/net/malisis/core/inventory/MalisisInventory.java b/src/main/java/net/malisis/core/inventory/MalisisInventory.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/malisis/core/inventory/MalisisInventory.java
+++ b/src/main/java/net/malisis/core/inventory/MalisisInventory.java
@@ -103,7 +103,7 @@ public class MalisisInventory
 	 * @param provider the provider
 	 * @param slots the slots
 	 */
-	public MalisisInventory(IInventoryProvider provider, MalisisSlot[] slots)
+	public MalisisInventory(IInventoryProvider provider, MalisisSlot... slots)
 	{
 		this.inventoryProvider = provider;
 		setSlots(slots);
Changed slots in ctor to varargs