mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-13 00:47:52 +00:00
Fix derp
This commit is contained in:
1 parent
31f1ee1197
commit
dfdf1196ba
1 file changed
+1
-1
@@ -18,7 +18,7 @@ object MCPCCompatModule
|
||||
{
|
||||
def load() {
|
||||
try {
|
||||
val m_canPlacePart = classOf[World].getDeclaredMethod("canPlaceMultipart", classOf[World], classOf[Block], classOf[Int], classOf[Int], classOf[Int])
|
||||
val m_canPlacePart = classOf[World].getDeclaredMethod("canPlaceMultipart", classOf[Block], classOf[Int], classOf[Int], classOf[Int])
|
||||
MultipartCompatiblity.canAddPart = (world:World, x:Int, y:Int, z:Int) => {
|
||||
m_canPlacePart.invoke(world, MultipartProxy.block, x:Integer, y:Integer, z:Integer).asInstanceOf[Boolean].booleanValue()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user