geforkt von Mirrors/Paper
c7f1eed0bf
3beb7729816 a77ed5758a7 52c130fc6d9
26 Zeilen
875 B
Diff
26 Zeilen
875 B
Diff
From c4c0793fc637e999eb32e4b80993a4470e817cf2 Mon Sep 17 00:00:00 2001
|
|
From: drXor <mcyoung@mit.edu>
|
|
Date: Wed, 23 Jul 2014 15:50:36 -0400
|
|
Subject: [PATCH] Undeprecate Player#updateInventory()V
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
|
|
index 7ed0f6a..b55d70e 100644
|
|
--- a/src/main/java/org/bukkit/entity/Player.java
|
|
+++ b/src/main/java/org/bukkit/entity/Player.java
|
|
@@ -334,10 +334,8 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
|
|
/**
|
|
* Forces an update of the player's entire inventory.
|
|
*
|
|
- * @deprecated This method should not be relied upon as it is a temporary
|
|
- * work-around for a larger, more complicated issue.
|
|
*/
|
|
- @Deprecated
|
|
+ //@Deprecated // Spigot - undeprecate
|
|
public void updateInventory();
|
|
|
|
/**
|
|
--
|
|
2.1.0
|
|
|