Skip to content

Commit 131cd51

Browse files
committed
Make constructor of services non-public
1 parent 4d49bcf commit 131cd51

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/org/mvplugins/multiverse/inventories/profile/InventoryDataProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public final class InventoryDataProvider {
3737
private final MultiverseInventories inventories;
3838

3939
@Inject
40-
public InventoryDataProvider(
40+
InventoryDataProvider(
4141
@NotNull ProfileContainerStoreProvider profileContainerStoreProvider,
4242
@NotNull MultiverseInventories inventories
4343
) {

src/main/java/org/mvplugins/multiverse/inventories/view/InventoryGUIHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ public final class InventoryGUIHelper {
2727

2828
private final NamespacedKey IS_FILLER_KEY; // Key to mark filler items
2929

30-
@Inject // Inject MultiverseInventories to create NamespacedKey
31-
public InventoryGUIHelper(@NotNull MultiverseInventories inventories) {
30+
@Inject
31+
InventoryGUIHelper(@NotNull MultiverseInventories inventories) {
3232
this.IS_FILLER_KEY = new NamespacedKey(inventories, "is_mvinv_filler");
3333
}
3434

0 commit comments

Comments
 (0)