Modify give command to support 1.7 features. Fixes BUKKIT-5286

Necessary additions include an interface to add internal value conversions
that are inappropriate for proper API design. This acts as a substitute
for properly formed, user-friendly commands in an effort to maintain
relatively vanilla behavior.

By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
Bukkit/Spigot
2014-01-14 21:32:03 -06:00
parent c0e5d3fbf0
commit bac44d80a6
4 changed files with 61 additions and 8 deletions

View File

@@ -799,4 +799,10 @@ public interface Server extends PluginMessageRecipient {
* @return the idle timeout in minutes
*/
public int getIdleTimeout();
/**
* @see UnsafeValues
*/
@Deprecated
UnsafeValues getUnsafe();
}