Package ch.njol.yggdrasil

Examples of ch.njol.yggdrasil.YggdrasilInputStream.readObject()

    assert (s = type.getSerializer()) != null && (s.mustSyncDeserialization() ? Bukkit.isPrimaryThread() : true);
    YggdrasilInputStream in = null;
    try {
      value = new SequenceInputStream(new ByteArrayInputStream(getYggdrasilStart(type)), value);
      in = Variables.yggdrasil.newInputStream(value);
      return in.readObject();
    } catch (final IOException e) { // i.e. invalid save
      if (Skript.testing())
      return null;
    } finally {
View Full Code Here

Copyright © 2018 All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact