Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-17 03:50:08 +01:00
19972e09b8
5a0150f586ed3eb15fe6f1f596d1a5a7d806f0f9 Fix ITEM_BREAK e6a3911057bd94d8bd7021cbb4923fb84fb106d1 Upstream merge d1cdcf8d4c3639f956474f02ed662517cffbe23e Remove old patch 068df64aeee368377e1673667bffc7a6dcf90554 Rebuild all patches
26 Zeilen
875 B
Diff
26 Zeilen
875 B
Diff
From f8e416af1d4903c5086910c7325987dfaac2d619 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
|
|
|