mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-08 08:02:13 -07:00
Make RECORD_12 a record. Fixes BUKKIT-3023
Record 12 was missed when added to the Material enum. By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
@@ -536,6 +536,6 @@ public enum Material {
|
||||
* @return True if this material represents a playable music disk.
|
||||
*/
|
||||
public boolean isRecord() {
|
||||
return id >= GOLD_RECORD.id && id <= RECORD_11.id;
|
||||
return id >= GOLD_RECORD.id && id <= RECORD_12.id;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user