mirror of
https://github.com/songoda/SongodaCore.git
synced 2024-11-23 18:45:34 +01:00
Fix GRASS_PATH
This commit is contained in:
parent
4c5a2b0615
commit
3dc2f5a0d3
@ -678,7 +678,7 @@ public enum CompatibleMaterial {
|
||||
GRANITE_WALL,
|
||||
GRASS("LONG_GRASS", (byte) 1),
|
||||
GRASS_BLOCK("GRASS"),
|
||||
GRASS_PATH("GRASS_PATH"),
|
||||
DIRT_PATH("GRASS_PATH"),
|
||||
GRAVEL,
|
||||
GRAY_BANNER("BANNER", (byte) 8),
|
||||
GRAY_BED("BED", (byte) 7),
|
||||
@ -1351,7 +1351,7 @@ public enum CompatibleMaterial {
|
||||
this.legacy = legacyMaterial;
|
||||
this.legacyData = legacyData == null ? 0 : legacyData;
|
||||
this.legacyRequiresData = legacyData != null;
|
||||
this.compatibleMaterial = LegacyMaterialAnalouge.lookupAnalouge(modern);
|
||||
this.compatibleMaterial = LegacyMaterialAnalouge.lookupAnalouge(modern);
|
||||
|
||||
if (compatibleMaterial != null && ServerVersion.isServerVersionBelow(compatibleMaterial.versionLessThan)) {
|
||||
// server older than this item: use a proxy
|
||||
|
Loading…
Reference in New Issue
Block a user