Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-26 16:12:42 +01:00
Merge branch 'master' of https://github.com/MylesIsCool/ViaVersion into dev
Dieser Commit ist enthalten in:
Commit
00b4396f86
@ -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.
|
||||||
|
|
||||||
|
@ -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();
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren