Fork of Poseidon providing Bukkit #1060 to older Beta versions (b1.0-b1.7.3)
at develop 33 lines 674 B view raw
1package net.minecraft.server; 2 3import java.io.DataInputStream; 4import java.io.DataOutputStream; 5import java.io.IOException; 6 7public class Packet4UpdateTime extends Packet { 8 9 public long a; 10 11 public Packet4UpdateTime() { 12 } 13 14 public Packet4UpdateTime(long i) { 15 this.a = i; 16 } 17 18 public void a(DataInputStream datainputstream) throws IOException { 19 this.a = datainputstream.readLong(); 20 } 21 22 public void a(DataOutputStream dataoutputstream) throws IOException { 23 dataoutputstream.writeLong(this.a); 24 } 25 26 public void a(NetHandler nethandler) { 27 nethandler.a(this); 28 } 29 30 public int a() { 31 return 8; 32 } 33}