mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 18:39:42 -05:00
1 parent
d9f3848e22
commit
f9bec6eadd
108 files changed
+1194
-11
No files matched your search
@@ -42,7 +42,9 @@ public interface Skeleton extends Monster {
|
||||
* Gets the ID of this skeleton type.
|
||||
*
|
||||
* @return Skeleton type ID
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
@@ -52,7 +54,9 @@ public interface Skeleton extends Monster {
|
||||
*
|
||||
* @param id ID of the skeleton type to get.
|
||||
* @return Resulting skeleton type, or null if not found.
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
public static SkeletonType getType(int id) {
|
||||
return (id >= types.length) ? null : types[id];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user