mirror of
https://github.com/TotalFreedomMC/OpenInv.git
synced 2024-07-02 02:33:38 +00:00
Tiny mistake.
This commit is contained in:
parent
8e62bc0c7f
commit
92fe9a54c9
|
@ -30,9 +30,9 @@ import com.lishid.openinv.internal.IPlayerDataManager;
|
||||||
import net.minecraft.util.com.mojang.authlib.GameProfile;
|
import net.minecraft.util.com.mojang.authlib.GameProfile;
|
||||||
|
|
||||||
//Volatile
|
//Volatile
|
||||||
import net.minecraft.server.v1_7_R2.*;
|
import net.minecraft.server.v1_7_R3.*;
|
||||||
|
|
||||||
import org.bukkit.craftbukkit.v1_7_R2.*;
|
import org.bukkit.craftbukkit.v1_7_R3.*;
|
||||||
|
|
||||||
public class PlayerDataManager implements IPlayerDataManager {
|
public class PlayerDataManager implements IPlayerDataManager {
|
||||||
@Override
|
@Override
|
||||||
|
@ -52,7 +52,7 @@ public class PlayerDataManager implements IPlayerDataManager {
|
||||||
|
|
||||||
MinecraftServer server = ((CraftServer) Bukkit.getServer()).getServer();
|
MinecraftServer server = ((CraftServer) Bukkit.getServer()).getServer();
|
||||||
|
|
||||||
GameProfile profile = new GameProfile(player.getUniqueId().toString(), player.getName());
|
GameProfile profile = new GameProfile(player.getUniqueId(), player.getName());
|
||||||
// Create an entity to load the player data
|
// Create an entity to load the player data
|
||||||
EntityPlayer entity = new EntityPlayer(server, server.getWorldServer(0), profile, new PlayerInteractManager(server.getWorldServer(0)));
|
EntityPlayer entity = new EntityPlayer(server, server.getWorldServer(0), profile, new PlayerInteractManager(server.getWorldServer(0)));
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: OpenInv
|
name: OpenInv
|
||||||
main: com.lishid.openinv.OpenInv
|
main: com.lishid.openinv.OpenInv
|
||||||
version: 2.1.5
|
version: 2.1.7
|
||||||
author: lishid
|
author: lishid
|
||||||
description: >
|
description: >
|
||||||
This plugin allows you to open a player's inventory as a chest and interact with it in real time.
|
This plugin allows you to open a player's inventory as a chest and interact with it in real time.
|
||||||
|
|
Loading…
Reference in a new issue