@@ -402,8 +402,8 @@ public Construct itemMeta(MCItemStack is, Target t) {
402402 ma .set ("spawntype" , mccs .getSpawnedType ().name ());
403403 } else if (bs instanceof MCBrewingStand ) {
404404 MCBrewingStand brewStand = (MCBrewingStand ) bs ;
405- ma .set ("brewtime" , new CString ( Integer . toString ( brewStand .getBrewingTime () ), t ), t );
406- ma .set ("fuel" , new CString ( Integer . toString ( brewStand .getFuelLevel () ), t ), t );
405+ ma .set ("brewtime" , new CInt ( brewStand .getBrewingTime (), t ), t );
406+ ma .set ("fuel" , new CInt ( brewStand .getFuelLevel (), t ), t );
407407 MCBrewerInventory inv = brewStand .getInventory ();
408408 CArray invData = CArray .GetAssociativeArray (t );
409409 if (inv .getFuel () != null ) {
@@ -415,8 +415,8 @@ public Construct itemMeta(MCItemStack is, Target t) {
415415 ma .set ("inventory" , invData , t );
416416 } else if (bs instanceof MCFurnace ) {
417417 MCFurnace furnace = (MCFurnace ) bs ;
418- ma .set ("burntime" , new CString ( Short . toString ( furnace .getBurnTime () ), t ), t );
419- ma .set ("cooktime" , new CString ( Short . toString ( furnace .getCookTime () ), t ), t );
418+ ma .set ("burntime" , new CInt ( furnace .getBurnTime (), t ), t );
419+ ma .set ("cooktime" , new CInt ( furnace .getCookTime (), t ), t );
420420 MCFurnaceInventory inv = furnace .getInventory ();
421421 CArray invData = CArray .GetAssociativeArray (t );
422422 if (inv .getResult () != null ) {
0 commit comments