forked from 2009Scape/Server
* Fixes Fixed #11 and implemented a beta command for testing (stops the need to go into database and manually change when debugging, very slow, now one command in game, very fast) * Space to continue Does what it says on the tin! * Fixes + more What I've done this update: - Fixed tutorial island's chef giving infinite amounts of buckets and water to players - Fixed fishing without a tool. - Added the wilderness teleport lever to Edgeville south of the bank (as some have requested) - Added some useful tools for editing cache. Enjoy!
15 lines
No EOL
383 B
Java
15 lines
No EOL
383 B
Java
package emperor;
|
|
|
|
public class Landscape {
|
|
|
|
byte[][][] flags = new byte[4][64][64];
|
|
byte[][][] overlays = new byte[4][64][64];
|
|
byte[][][] underlays = new byte[4][64][64];
|
|
|
|
public void addOverlay(int z, int x, int y, int overlay) {
|
|
overlays[z][x][y] = (byte) overlay;
|
|
}
|
|
public void addUnderlay(int z, int x, int y, int underlay) {
|
|
underlays[z][x][y] = (byte) underlay;
|
|
}
|
|
} |