mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-24 18:09:41 -05:00
General cleanup (deprecated+whitespace)
By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
1 parent
b01fc3ffa8
commit
474817bf11
27 files changed
+224
-244
No files matched your search
@@ -306,7 +306,7 @@ public enum Material {
|
||||
* @return true if this material is a block
|
||||
*/
|
||||
public boolean isBlock() {
|
||||
return id < 256;
|
||||
return id < 256;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -355,7 +355,7 @@ public enum Material {
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
static {
|
||||
for (Material material : values()) {
|
||||
lookupId.put(material.getId(), material);
|
||||
|
||||
Reference in new issue
Block a user