SpigotMC/Spigot — pull request #58 by Mati0703 (2013-11-10 04:56:31+00:00)
Title: Revert some reason on packet 70 to get weather work nice

When you type /sun - it's starting rain.
When you type /rain - sun with thunder..

Simple fix:

Packet70Bed.java

public Packet70Bed(int i, int j) {

if (i == 2) {
this.b = 1;
} else if (i == 1) {
this.b = 2;
} else {
this.b = i;
}

this.c = j;
}