[๐Ÿ“ฆ] Logic Gates (Fabric)

[๐Ÿ“ฆ] Logic Gates (Fabric)

9.7k Downloads

[1.5] Invalid rotation value when placing wire

y2k04 opened this issue ยท 0 comments

commented

Describe the bug
Game crashes because 'up' is an invalid direction.

To Reproduce
Steps to reproduce the behavior:

  1. Stand on top of a block
  2. Place a wire on a block lower than you
  3. Game crashes

Crash report:

java.lang.IllegalArgumentException: Cannot set property class_2753{name=facing, clazz=class net.minecraft.class_2350, values=[north, south, west, east]} to up on Block{logicgates:wire}, it is not an allowed value
	at net.minecraft.class_2688.method_11657(class_2688.java:130)
	at thecsdev.logicgates.block.AbstractLogicGateBlock.method_9605(AbstractLogicGateBlock.java:74)
	at net.minecraft.class_1747.method_7707(class_1747.java:123)
	at net.minecraft.class_1747.method_7712(class_1747.java:75)
	at net.minecraft.class_1747.method_7884(class_1747.java:50)
	at net.minecraft.class_1799.method_7981(class_1799.java:274)
	at net.minecraft.class_636.method_41934(class_636.java:367)
	at net.minecraft.class_636.redirect$eap000$viafabricplus$provideCachedResult(class_636.java:3262)
	at net.minecraft.class_636.method_41933(class_636.java:328)
	at net.minecraft.class_636.method_41931(class_636.java:278)
	at net.minecraft.class_636.method_2896(class_636.java:327)
	at net.minecraft.class_310.method_1583(class_310.java:1799)
	at net.minecraft.class_310.method_1508(class_310.java:2053)
	at net.minecraft.class_310.method_1574(class_310.java:1880)
	at net.minecraft.class_310.method_1523(class_310.java:1180)
	at net.minecraft.class_310.method_1514(class_310.java:801)
	at net.minecraft.client.main.Main.main(Main.java:237)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:462)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)