3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-05 11:00:05 +01:00

Made BlockBag use WorldVectors for add(Single)SourcePosition

Dieser Commit ist enthalten in:
zml2008 2012-02-07 17:24:22 -08:00
Ursprung 1f921779fa
Commit 1772d02d80
3 geänderte Dateien mit 9 neuen und 9 gelöschten Zeilen

Datei anzeigen

@ -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);
}

Datei anzeigen

@ -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) {
}
}

Datei anzeigen

@ -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) {
}
}