mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-05 10:20:53 +01:00
6a5e553feb
a3168ab2ce4 9b45d9fa8d3 b43a31a5c25 a926b96d5d1 d6b5ba7ca03 bb782d07aed 5a74d55c678 47b1dff3e68 [M]
26 lines
875 B
Diff
26 lines
875 B
Diff
From 3b4772976f00c3fa8a6991af9556595b0d0e75ca 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
|
|
|