mirror of
https://github.com/Oth3r/Sit.git
synced 2025-09-20 00:13:21 +02:00
copy constructors
This commit is contained in:
parent
abecde44c8
commit
b46e10e835
3 changed files with 12 additions and 9 deletions
|
@ -22,4 +22,9 @@ public class SittingBlock extends CustomBlock {
|
|||
super(blockIds, blockTags, blockStates);
|
||||
this.sittingHeight = sittingHeight;
|
||||
}
|
||||
|
||||
public SittingBlock(SittingBlock sittingBlock) {
|
||||
super(sittingBlock);
|
||||
this.sittingHeight = sittingBlock.sittingHeight;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue