mastercake10 1 年之前
父节点
当前提交
eb50db2868
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/xyz/spaceio/customoregen/Events.java

+ 1 - 1
src/main/java/xyz/spaceio/customoregen/Events.java

@@ -33,7 +33,7 @@ public class Events implements Listener {
 	private Method legacyBlockPlaceMethod;
 	
 	private boolean enableStoneGenerator;
-	private Optional<Sound> soundEffect;
+	private Optional<Sound> soundEffect = Optional.empty();
 	private boolean enableParticleEffect;
 	
 	public Events(CustomOreGen customOreGen) {