Fix a few typos

This commit is contained in:
Diego Arias 2018-10-16 18:29:13 -03:00
parent 95f436e1ee
commit 6bbe77a980
2 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,6 @@
package com.massivecraft.factions.util.material;
import com.google.gson.reflect.TypeToken;
import com.massivecraft.factions.Conf;
import com.massivecraft.factions.P;
import org.bukkit.Bukkit;
import org.bukkit.Material;
@ -20,7 +19,7 @@ public class MaterialDb {
Useful as we don't really need extra metadata for stuff like territory block breaking checking.
"ACACIA_BOAT": {
"name": "ACACIA_BOAT",
"material": "ACACIA_BOAT",
"legacy": "BOAT_ACACIA"
}

View File

@ -17,7 +17,7 @@ public class MaterialProvider {
public Material resolve(String name) {
if (name == null) {
P.p.log("Null Material, Skipping");
P.p.log("Null material name, Skipping");
return Material.AIR;
}
@ -29,7 +29,7 @@ public class MaterialProvider {
Material material = materialData.get(name).get();
if (material == null) {
// Could not create Material from provided String, return Air
P.p.log(Level.INFO, "Invalid Material: " + name.toUpperCase());
P.p.log(Level.INFO, "Invalid material: " + name.toUpperCase());
return Material.AIR;
}
return material;