Skip to content

Commit

Permalink
✏️ 加个注释
Browse files Browse the repository at this point in the history
  • Loading branch information
1024-byteeeee committed Nov 28, 2023
1 parent bc15ae7 commit c304087
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ private static void MovableBlocks(BlockState state, World world, BlockPos pos, D
Set<String> moreCustomMovableBlock = new HashSet<>(Arrays.asList(AmsServerSettings.customMovableBlock.split(",")));
String blockName1 = state.getBlock().toString();
String blockName2 = null;
String regex = "\\{(.*?)\\}";
String regex = "\\{(.*?)\\}"; //Block{minecraft:bedrock} -> minecraft:bedrock
Pattern pattern = Pattern.compile(regex);
Matcher matcher = pattern.matcher(blockName1);
if (matcher.find()) {
Expand Down

0 comments on commit c304087

Please sign in to comment.