mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-26 10:59:43 -05:00
1 parent
d9f3848e22
commit
f9bec6eadd
108 files changed
+1194
-11
No files matched your search
@@ -36,7 +36,9 @@ public enum GameMode {
|
||||
* Gets the mode value associated with this GameMode
|
||||
*
|
||||
* @return An integer value of this gamemode
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
public int getValue() {
|
||||
return value;
|
||||
}
|
||||
@@ -46,7 +48,9 @@ public enum GameMode {
|
||||
*
|
||||
* @param value Value to check
|
||||
* @return Associative {@link GameMode} with the given value, or null if it doesn't exist
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
public static GameMode getByValue(final int value) {
|
||||
return BY_ID.get(value);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user