fix Instruments
Add missing instrument enums fix some wrong javadocs
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
package org.bukkit;
|
||||
|
||||
import static org.bukkit.support.MatcherAssert.*;
|
||||
import static org.hamcrest.CoreMatchers.*;
|
||||
import org.bukkit.support.AbstractTestingBase;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class InstrumentTest extends AbstractTestingBase {
|
||||
@Test
|
||||
public void getByType() {
|
||||
for (Instrument instrument : Instrument.values()) {
|
||||
if (instrument.getType() < 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
assertThat(Instrument.getByType(instrument.getType()), is(instrument));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user