Even more changes made towards a proper Vector update, as well as minor FAVS changes to accomodate for recent vector changes.

This commit is contained in:
IronApollo
2019-01-13 01:38:08 -05:00
parent 628c9cc0b7
commit 90b3439dc2
7 changed files with 75 additions and 12 deletions

View File

@ -772,7 +772,7 @@ public enum BlockTypes implements BlockType {
String name = (name().indexOf(':') == -1 ? "minecraft:" : "") + name().toLowerCase();
ReflectionUtils.setFailsafeFieldValue(BlockTypes.class.getDeclaredField("id"), this, name);
}
Settings settings = new Settings(this, id, internalId, states);
Settings settings = new Settings((this.getTypeEnum() == BlockTypes.__RESERVED__ ? BlockTypes.AIR : this), id, internalId, states);
ReflectionUtils.setFailsafeFieldValue(BlockTypes.class.getDeclaredField("settings"), this, settings);
} catch (Throwable e) {
e.printStackTrace();