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

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

package io.papermc.lib.features.inventoryholdersnapshot;

import org.bukkit.inventory.Inventory;

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy