mirror of
https://github.com/Xiao-MoMi/Custom-Fishing.git
synced 2025-12-30 12:29:19 +00:00
鱼饵袋
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user