mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-02 02:47:11 +00:00
Made BlockBag use WorldVectors for add(Single)SourcePosition
This commit is contained in:
parent
1f921779fa
commit
1772d02d80
@ -19,7 +19,7 @@
|
||||
|
||||
package com.sk89q.worldedit.bags;
|
||||
|
||||
import com.sk89q.worldedit.Vector;
|
||||
import com.sk89q.worldedit.WorldVector;
|
||||
import com.sk89q.worldedit.blocks.*;
|
||||
|
||||
/**
|
||||
@ -189,12 +189,12 @@ public abstract class BlockBag {
|
||||
*
|
||||
* @param pos
|
||||
*/
|
||||
public abstract void addSourcePosition(Vector pos);
|
||||
public abstract void addSourcePosition(WorldVector pos);
|
||||
|
||||
/**
|
||||
* Adds a position to be used a source.
|
||||
*
|
||||
* @param pos
|
||||
*/
|
||||
public abstract void addSingleSourcePosition(Vector pos);
|
||||
public abstract void addSingleSourcePosition(WorldVector pos);
|
||||
}
|
||||
|
@ -19,9 +19,9 @@
|
||||
|
||||
package com.sk89q.worldedit.bukkit;
|
||||
|
||||
import com.sk89q.worldedit.WorldVector;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import com.sk89q.worldedit.Vector;
|
||||
import com.sk89q.worldedit.bags.*;
|
||||
import com.sk89q.worldedit.blocks.BaseItem;
|
||||
import com.sk89q.worldedit.blocks.BaseItemStack;
|
||||
@ -214,7 +214,7 @@ public class BukkitPlayerBlockBag extends BlockBag {
|
||||
* @param pos
|
||||
*/
|
||||
@Override
|
||||
public void addSourcePosition(Vector pos) {
|
||||
public void addSourcePosition(WorldVector pos) {
|
||||
}
|
||||
|
||||
/**
|
||||
@ -223,6 +223,6 @@ public class BukkitPlayerBlockBag extends BlockBag {
|
||||
* @param pos
|
||||
*/
|
||||
@Override
|
||||
public void addSingleSourcePosition(Vector pos) {
|
||||
public void addSingleSourcePosition(WorldVector pos) {
|
||||
}
|
||||
}
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
package com.sk89q.worldedit.spout;
|
||||
|
||||
import com.sk89q.worldedit.Vector;
|
||||
import com.sk89q.worldedit.WorldVector;
|
||||
import com.sk89q.worldedit.bags.BlockBag;
|
||||
import com.sk89q.worldedit.bags.BlockBagException;
|
||||
import com.sk89q.worldedit.bags.OutOfBlocksException;
|
||||
@ -222,7 +222,7 @@ public class SpoutPlayerBlockBag extends BlockBag {
|
||||
* @param pos
|
||||
*/
|
||||
@Override
|
||||
public void addSourcePosition(Vector pos) {
|
||||
public void addSourcePosition(WorldVector pos) {
|
||||
}
|
||||
|
||||
/**
|
||||
@ -231,6 +231,6 @@ public class SpoutPlayerBlockBag extends BlockBag {
|
||||
* @param pos
|
||||
*/
|
||||
@Override
|
||||
public void addSingleSourcePosition(Vector pos) {
|
||||
public void addSingleSourcePosition(WorldVector pos) {
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user