mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Applying requested changes
This commit is contained in:
parent
3babdf88a2
commit
cba204d9f3
@ -18,9 +18,7 @@ import org.bukkit.event.player.PlayerMoveEvent;
|
|||||||
public class Trailer extends FreedomService
|
public class Trailer extends FreedomService
|
||||||
{
|
{
|
||||||
|
|
||||||
public byte data;
|
private byte data;
|
||||||
|
|
||||||
|
|
||||||
private final Random random = new Random();
|
private final Random random = new Random();
|
||||||
private final Set<String> trailPlayers = new HashSet<>(); // player name
|
private final Set<String> trailPlayers = new HashSet<>(); // player name
|
||||||
|
|
||||||
@ -65,10 +63,9 @@ public class Trailer extends FreedomService
|
|||||||
}
|
}
|
||||||
|
|
||||||
final Location location = fromBlock.getLocation();
|
final Location location = fromBlock.getLocation();
|
||||||
|
|
||||||
fromBlock.setType(Material.WOOL);
|
fromBlock.setType(Material.WOOL);
|
||||||
DepreciationAggregator.setData_Block(fromBlock, (byte) random.nextInt(16));
|
DepreciationAggregator.setData_Block(fromBlock, (byte) random.nextInt(16));
|
||||||
final byte data = DepreciationAggregator.getData_Block(fromBlock);
|
private byte data = DepreciationAggregator.getData_Block(fromBlock);
|
||||||
Material material = Material.getMaterial(String.valueOf(fromBlock.getType()));
|
Material material = Material.getMaterial(String.valueOf(fromBlock.getType()));
|
||||||
for (int x = -1; x <= 1; x++)
|
for (int x = -1; x <= 1; x++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user