mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Fix oreientation bug causing levers not being able to place.
This commit is contained in:
1 parent
44e6fd90c9
commit
d14b1b4e1f
1 file changed
+1
-1
@@ -27,7 +27,7 @@ public enum Orientation
|
||||
|
||||
public static Orientation getOrientation(int id)
|
||||
{
|
||||
if (Orientation.values().length < id)
|
||||
if (id < Orientation.values().length)
|
||||
{
|
||||
return Orientation.values()[id];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user