This commit is contained in:
Matsv 2017-05-10 18:00:18 +02:00
commit 00b4396f86
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ IRC: [#viaversion](http://irc.spi.gt/iris/?channels=viaversion) on irc.spi.gt fo
Supported Versions: Supported Versions:
[![Table] (http://i.imgur.com/SVVhFQ4.png)](http://i.imgur.com/SVVhFQ4.png) ![Table (http://i.imgur.com/SVVhFQ4.png)](http://i.imgur.com/SVVhFQ4.png)
On Bukkit you may also use ProtocolSupport, but ensure you have the right build for your server version. On Bukkit you may also use ProtocolSupport, but ensure you have the right build for your server version.

View File

@ -303,7 +303,7 @@ public class SpawnPackets {
packet.write(Type.VAR_INT, 0); packet.write(Type.VAR_INT, 0);
packet.write(Type.ITEM, new Item(item, (byte) 1, (short) 0, null)); packet.write(Type.ITEM, new Item(item, (byte) 1, (short) 0, null));
try { try {
packet.send(Protocol1_9TO1_8.class); packet.send(Protocol1_9TO1_8.class, true, true);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }

View File

@ -42,7 +42,7 @@ public class SpongeViaLoader implements ViaPlatformLoader {
new BlockListener(plugin).register(); new BlockListener(plugin).register();
if (plugin.getConf().isItemCache()) { if (plugin.getConf().isItemCache()) {
Via.getPlatform().runRepeatingSync(new HandItemCache(), 2L); // Updates player's items :) Via.getPlatform().runRepeatingSync(new HandItemCache(), 2L); // Updates players items :)
HandItemCache.CACHE = true; HandItemCache.CACHE = true;
} }