mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-11-25 08:16:24 +01:00
Fix CreativeCategory enum numbers (#4542)
This commit is contained in:
parent
47237e07b7
commit
29bd896682
1 changed files with 4 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2019-2023 GeyserMC. http://geysermc.org
|
* Copyright (c) 2019-2024 GeyserMC. http://geysermc.org
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to deal
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
@ -31,12 +31,11 @@ import org.checkerframework.checker.nullness.qual.NonNull;
|
||||||
* Represents the creative menu categories or tabs.
|
* Represents the creative menu categories or tabs.
|
||||||
*/
|
*/
|
||||||
public enum CreativeCategory {
|
public enum CreativeCategory {
|
||||||
COMMANDS("commands", 1),
|
CONSTRUCTION("construction", 1),
|
||||||
CONSTRUCTION("construction", 2),
|
NATURE("nature", 2),
|
||||||
EQUIPMENT("equipment", 3),
|
EQUIPMENT("equipment", 3),
|
||||||
ITEMS("items", 4),
|
ITEMS("items", 4),
|
||||||
NATURE("nature", 5),
|
NONE("none", 5);
|
||||||
NONE("none", 6);
|
|
||||||
|
|
||||||
private final String internalName;
|
private final String internalName;
|
||||||
private final int id;
|
private final int id;
|
||||||
|
|
Loading…
Reference in a new issue