ForgePatch/patches/minecraft/net/minecraft/stats/StatList.java.patch

44 lines
1.6 KiB
Diff

--- ../src-base/minecraft/net/minecraft/stats/StatList.java
+++ ../src-work/minecraft/net/minecraft/stats/StatList.java
@@ -101,7 +101,7 @@
if (item != null)
{
- int i = Item.func_150891_b(item);
+ int i = Item.func_150891_b(item); //TODO: Hook FML's stat change event and re-assign these
String s = func_180204_a(item);
if (s != null)
@@ -121,11 +121,11 @@
while (iterator.hasNext())
{
Block block = (Block)iterator.next();
- Item item = Item.func_150898_a(block);
+ Item item = Item.func_150898_a(block); //TODO: Hook FML's stat change event and re-assign these
if (item != null)
{
- int i = Block.func_149682_b(block);
+ int i = Block.func_149682_b(block); //TODO: Hook FML's stat change event and re-assign these
String s = func_180204_a(item);
if (s != null && block.func_149652_G())
@@ -149,7 +149,7 @@
if (item != null)
{
- int i = Item.func_150891_b(item);
+ int i = Item.func_150891_b(item); //TODO: Hook FML's stat change event and re-assign these
String s = func_180204_a(item);
if (s != null)
@@ -177,7 +177,7 @@
if (item != null)
{
- int i = Item.func_150891_b(item);
+ int i = Item.func_150891_b(item); //TODO: Hook FML's stat change event and re-assign these
String s = func_180204_a(item);
if (s != null && item.func_77645_m())