-
-
Notifications
You must be signed in to change notification settings - Fork 732
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/IntellectualSites/PlotSqu…
- Loading branch information
Showing
22 changed files
with
380 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
Bukkit/src/main/java/com/plotsquared/bukkit/util/block/FastChunk_1_9.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package com.plotsquared.bukkit.util.block; | ||
|
||
import com.intellectualcrafters.plot.util.PlotChunk; | ||
import com.intellectualcrafters.plot.util.SetQueue; | ||
import com.plotsquared.bukkit.util.BukkitUtil; | ||
import org.bukkit.Chunk; | ||
|
||
public class FastChunk_1_9 extends PlotChunk<Chunk> { | ||
|
||
public FastChunk_1_9(SetQueue.ChunkWrapper wrap) { | ||
super(wrap); | ||
} | ||
|
||
@Override | ||
public Chunk getChunkAbs() { | ||
SetQueue.ChunkWrapper loc = getChunkWrapper(); | ||
return BukkitUtil.getWorld(loc.world).getChunkAt(loc.x, loc.z); | ||
} | ||
|
||
@Override public void setBlock(int x, int y, int z, int id, byte data) { | ||
|
||
} | ||
|
||
@Override public void setBiome(int x, int z, int biome) { | ||
|
||
} | ||
|
||
@Override public PlotChunk clone() { | ||
return null; | ||
} | ||
|
||
@Override public PlotChunk shallowClone() { | ||
return null; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
Bukkit/src/main/java/com/plotsquared/bukkit/util/block/FastQueue_1_9.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.plotsquared.bukkit.util.block; | ||
|
||
import com.intellectualcrafters.plot.util.PlotChunk; | ||
import com.intellectualcrafters.plot.util.SetQueue; | ||
import org.bukkit.Chunk; | ||
|
||
public class FastQueue_1_9 extends SlowQueue { | ||
|
||
@Override public PlotChunk<Chunk> getChunk(SetQueue.ChunkWrapper wrap) { | ||
return new FastChunk_1_9(wrap); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.