add create item
This commit is contained in:
@ -54,6 +54,7 @@ public class PlayerDataUtils {
|
|||||||
try {
|
try {
|
||||||
UUID uuid = player.getUniqueId();
|
UUID uuid = player.getUniqueId();
|
||||||
//给予初始玩家的操作
|
//给予初始玩家的操作
|
||||||
|
player.getInventory().addItem(new Item(347));
|
||||||
|
|
||||||
RePlayer rePlayer = new RePlayer(uuid, "新火", 2000);
|
RePlayer rePlayer = new RePlayer(uuid, "新火", 2000);
|
||||||
File playerDataFile = new File(PLAYER_DATA_FOLDER, uuid.toString() + FILE_TYPE);
|
File playerDataFile = new File(PLAYER_DATA_FOLDER, uuid.toString() + FILE_TYPE);
|
||||||
|
Reference in New Issue
Block a user