mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-26 02:19:23 +00:00
修复火音效
This commit is contained in:
@@ -318,6 +318,9 @@ public class BukkitBlockManager extends AbstractBlockManager {
|
||||
}
|
||||
}
|
||||
|
||||
affectedBlocks.remove(Reflections.instance$Blocks$FIRE);
|
||||
affectedBlocks.remove(Reflections.instance$Blocks$SOUL_FIRE);
|
||||
|
||||
this.affectedSoundBlocks = ImmutableSet.copyOf(affectedBlocks);
|
||||
|
||||
ImmutableMap.Builder<Key, Key> soundMapperBuilder = ImmutableMap.builder();
|
||||
|
||||
@@ -3519,6 +3519,7 @@ public class Reflections {
|
||||
public static final Object instance$Blocks$STONE;
|
||||
public static final Object instance$Blocks$STONE$defaultState;
|
||||
public static final Object instance$Blocks$FIRE;
|
||||
public static final Object instance$Blocks$SOUL_FIRE;
|
||||
public static final Object instance$Blocks$ICE;
|
||||
|
||||
static {
|
||||
@@ -3528,6 +3529,8 @@ public class Reflections {
|
||||
instance$Blocks$AIR$defaultState = method$Block$defaultBlockState.invoke(instance$Blocks$AIR);
|
||||
Object fire = method$ResourceLocation$fromNamespaceAndPath.invoke(null, "minecraft", "fire");
|
||||
instance$Blocks$FIRE = method$Registry$get.invoke(instance$BuiltInRegistries$BLOCK, fire);
|
||||
Object soulFire = method$ResourceLocation$fromNamespaceAndPath.invoke(null, "minecraft", "soul_fire");
|
||||
instance$Blocks$SOUL_FIRE = method$Registry$get.invoke(instance$BuiltInRegistries$BLOCK, soulFire);
|
||||
Object stone = method$ResourceLocation$fromNamespaceAndPath.invoke(null, "minecraft", "stone");
|
||||
instance$Blocks$STONE = method$Registry$get.invoke(instance$BuiltInRegistries$BLOCK, stone);
|
||||
instance$Blocks$STONE$defaultState = method$Block$defaultBlockState.invoke(instance$Blocks$STONE);
|
||||
|
||||
Reference in New Issue
Block a user