mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 14:12:20 -07:00
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:
@@ -692,4 +692,12 @@ public final class Bukkit {
|
||||
public static int getIdleTimeout() {
|
||||
return server.getIdleTimeout();
|
||||
}
|
||||
|
||||
/**
|
||||
* @see Server#getUnsafe()
|
||||
*/
|
||||
@Deprecated
|
||||
public static UnsafeValues getUnsafe() {
|
||||
return server.getUnsafe();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user