Posted 06 April 2013 - 08:32 PM

public static class TurtleXPSource implements IXPSource { public int get(ITurtleAccess turtle, int x, int y, int z, int side) { any te = turtle.getWorld().q(x, y, z); if (!(te instanceof ITurtleAccess)) return 0; PeripheralXP xp = (PeripheralXP)Util.getPeripheral(turtle, PeripheralXP.class);

RichardG, two bugs regarding XP turtles.Seems like these were mentioned before, back in february, but it's still broken in 3.1c.1) You need to rename the get/getUp/getDown functions as get (raw experience in turtle) is clobbered by the broken (get experience from object in front of me).2) There is a bug in TurtleXPSource. You are getting the TileEntity next to the turtle, validating that it's a Turtle, but then you're using the calling turtle to get experience from and not the TileEntity returned.From PeripheralXP.classNotice on the last line, you're using turtle and not te