Tiny mistake.

This commit is contained in:
lishid 2014-04-13 19:01:20 -04:00
parent 8e62bc0c7f
commit 92fe9a54c9
2 changed files with 4 additions and 4 deletions

View file

@ -30,9 +30,9 @@ import com.lishid.openinv.internal.IPlayerDataManager;
import net.minecraft.util.com.mojang.authlib.GameProfile;
//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 {
@Override
@ -52,7 +52,7 @@ public class PlayerDataManager implements IPlayerDataManager {
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
EntityPlayer entity = new EntityPlayer(server, server.getWorldServer(0), profile, new PlayerInteractManager(server.getWorldServer(0)));

View file

@ -1,6 +1,6 @@
name: OpenInv
main: com.lishid.openinv.OpenInv
version: 2.1.5
version: 2.1.7
author: lishid
description: >
This plugin allows you to open a player's inventory as a chest and interact with it in real time.