@Override
public InventoryHolder getOwner()
{
// int x = 0;
// org.bukkit.block.Block b = this.world.getWorld().getBlockAt(x, 0, 0);
// while(b != null && b.getType() != Material.AIR)
// b = this.world.getWorld().getBlockAt(++x,0,0);
// Furnace furnace = new CraftFurnace(b);
org.bukkit.block.Furnace furnace = new CraftFurnace(this.world.getWorld().getBlockAt(0, 0, 0));
try
{
ReflectionUtil.setValue(furnace, "furnace", this);
}
catch (Exception e)
{
e.printStackTrace();
}
return furnace;
}
Furnace_v1_8_R2.java 文件源码
java
阅读 20
收藏 0
点赞 0
评论 0
项目:AnnihilationPro
作者:
评论列表
文章目录