summaryrefslogtreecommitdiff
path: root/src/main/java/com/redstoner/modules/lagchunks/LaggyChunk.java
blob: 3ff4d6fd06e12d8b1197b3ebec251ea22672da69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.redstoner.modules.lagchunks;

import org.bukkit.Location;
import org.bukkit.World;

public class LaggyChunk {
	public final int	x, y, z, amount;
	public final World	world;
	
	public LaggyChunk(int x, int y, int z, World world, int amount) {
		this.x = x;
		this.y = y;
		this.z = z;
		this.world = world;
		this.amount = amount;
	}
	
	public Location getLocation() {
		return new Location(world, x, y, z);
	}
}