mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-14 01:04:24 +00:00
Copy over parent's modelSet value in variants as well.
This commit is contained in:
1 parent
db42d1f532
commit
db7d82a889
1 file changed
+5
-1
@@ -284,7 +284,11 @@ public class ForgeBlockStateV1 extends Marker
|
||||
*/
|
||||
ForgeBlockStateV1.Variant sync(ForgeBlockStateV1.Variant parent)
|
||||
{
|
||||
if (!this.modelSet) this.model = parent.model;
|
||||
if (!this.modelSet)
|
||||
{
|
||||
this.model = parent.model;
|
||||
this.modelSet = parent.modelSet;
|
||||
}
|
||||
if (!this.rotation.isPresent()) this.rotation = parent.rotation;
|
||||
if (!this.uvLock.isPresent()) this.uvLock = parent.uvLock;
|
||||
if (!this.weight.isPresent()) this.weight = parent.weight;
|
||||
|
||||
Reference in new issue
Block a user