mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
testing rod names
This commit is contained in:
parent
183fb61cd1
commit
9b449899fb
@ -416,7 +416,7 @@ public class TileEntityRBMKRod extends TileEntityRBMKSlottedBase implements IRBM
|
||||
@Optional.Method(modid = "OpenComputers")
|
||||
public Object[] getFuelType(Context context, Arguments args) {
|
||||
if(slots[0] != null && slots[0].getItem() instanceof ItemRBMKRod) {
|
||||
return new Object[] {slots[0].getItem()};
|
||||
return new Object[] {rod.getName()};
|
||||
}
|
||||
return new Object[] {"N/A"};
|
||||
}
|
||||
@ -457,7 +457,7 @@ public class TileEntityRBMKRod extends TileEntityRBMKSlottedBase implements IRBM
|
||||
if(slots[0] != null && slots[0].getItem() instanceof ItemRBMKRod) {
|
||||
OC_enrich_buf = ItemRBMKRod.getEnrichment(slots[0]);
|
||||
OC_poison_buf = ItemRBMKRod.getPoison(slots[0]);
|
||||
OC_fuelType = slots[0].getItem();
|
||||
OC_fuelType = rod.getName();
|
||||
} else {
|
||||
OC_enrich_buf = "N/A";
|
||||
OC_poison_buf = "N/A";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user