9
0
mirror of https://github.com/Xiao-MoMi/Custom-Fishing.git synced 2025-12-30 12:29:19 +00:00

鱼饵袋

This commit is contained in:
Xiao-MoMi
2022-10-20 23:02:18 +08:00
parent 177f3bea5b
commit 69616aab3f
43 changed files with 718 additions and 450 deletions

View File

@@ -0,0 +1,27 @@
package net.momirealms.customfishing.data;
import org.bukkit.OfflinePlayer;
import org.bukkit.inventory.Inventory;
public class PlayerBagData {
private final OfflinePlayer player;
private Inventory inventory;
public PlayerBagData(OfflinePlayer player, Inventory inventory) {
this.player = player;
this.inventory = inventory;
}
public Inventory getInventory() {
return inventory;
}
public OfflinePlayer getPlayer() {
return player;
}
public void setInventory(Inventory inventory) {
this.inventory = inventory;
}
}