mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-14 01:14:19 +00:00
Add quotes to config example
Fix compile warnings
This commit is contained in:
1 parent
5ae13de428
commit
b6446d413d
3 files changed
+2
-3
No files matched your search
@@ -94,7 +94,7 @@ class BlockMicroMaterial(val block:Block, val meta:Int = 0) extends IMicroMateri
|
||||
} catch {
|
||||
case e:Exception =>
|
||||
}
|
||||
player.getBreakSpeed(block, false, meta) / hardness
|
||||
player.getBreakSpeed(block, false, meta, 0, -1, 0) / hardness
|
||||
}
|
||||
|
||||
def isTransparent = !block.isOpaqueCube
|
||||
|
||||
@@ -39,7 +39,7 @@ object ConfigContent
|
||||
writer.println("#Each line needs to be of the form <name>:<meta>")
|
||||
writer.println("#<name> is the unlocalised name or registry key of the block/item enclosed in quotes. NEI can help you find these")
|
||||
writer.println("#<meta> may be ommitted, in which case it defaults to 0, otherwise it can be a number, a comma separated list of numbers, or a dash separated range")
|
||||
writer.println("#Ex. dirt minecraft:planks:3 iron_ore:1,2,3,5 ThermalFoundation:Storage:0-15")
|
||||
writer.println("#Ex. \"dirt\" \"minecraft:planks\":3 \"iron_ore\":1,2,3,5 \"ThermalFoundation:Storage\":0-15")
|
||||
writer.close()
|
||||
}
|
||||
|
||||
|
||||
@@ -47,7 +47,6 @@ object MultipartCPH extends MultipartPH with IClientPacketHandler
|
||||
catch {
|
||||
case e:RuntimeException if e.getMessage.startsWith("DC: ") =>
|
||||
netHandler.handleDisconnect(new S40PacketDisconnect(new ChatComponentText(e.getMessage.substring(4))))
|
||||
case e => throw e
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user