mirror of
https://github.com/Pridecraft-Studios/joy.git
synced 2025-08-03 06:26:00 -04:00
chore: remove redundant DyeColor from bed
It's not even used.
This commit is contained in:
parent
2da7320c43
commit
890492ea63
@ -4,18 +4,14 @@ import gay.pridecraft.joy.registry.JoyBlockEntityTypes;
|
||||
import net.minecraft.block.BlockState;
|
||||
import net.minecraft.block.entity.BlockEntity;
|
||||
import net.minecraft.network.packet.s2c.play.BlockEntityUpdateS2CPacket;
|
||||
import net.minecraft.util.DyeColor;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
|
||||
public class JoyBedBlockEntity extends BlockEntity {
|
||||
public DyeColor color;
|
||||
|
||||
public JoyBedBlockEntity(BlockPos pos, BlockState state) {
|
||||
super(JoyBlockEntityTypes.JOY_BED_BLOCK_ENTITY, pos, state);
|
||||
this.color = DyeColor.WHITE;
|
||||
}
|
||||
|
||||
public BlockEntityUpdateS2CPacket toUpdatePacket() {
|
||||
return BlockEntityUpdateS2CPacket.create(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user