mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-23 21:49:46 +00:00
Make HangingSignBlockEntity useable with custom BlockEntityTypes. #10038
This commit is contained in:
1 parent
0d3921efb5
commit
361e99805e
1 file changed
+13
+13
@@ -0,0 +1,13 @@
|
||||
--- a/net/minecraft/world/level/block/entity/HangingSignBlockEntity.java
|
||||
+++ b/net/minecraft/world/level/block/entity/HangingSignBlockEntity.java
|
||||
@@ -10,6 +_,10 @@
|
||||
public HangingSignBlockEntity(BlockPos p_250603_, BlockState p_251674_) {
|
||||
super(BlockEntityType.f_244529_, p_250603_, p_251674_);
|
||||
}
|
||||
+
|
||||
+ public HangingSignBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state) {
|
||||
+ super(type, pos, state);
|
||||
+ }
|
||||
|
||||
public int m_245065_() {
|
||||
return 9;
|
||||
Reference in new issue
Block a user