All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.papermc.lib.features.inventoryholdersnapshot.InventoryHolderSnapshotNoOption Maven / Gradle / Ivy

package io.papermc.lib.features.inventoryholdersnapshot;

import org.bukkit.inventory.Inventory;

public class InventoryHolderSnapshotNoOption implements InventoryHolderSnapshot {
    @Override
    public InventoryHolderSnapshotResult getHolder(Inventory inventory, boolean useSnapshot) {
        return new InventoryHolderSnapshotResult(true, inventory.getHolder());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy