diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-02-01 21:11:12 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-02-01 21:11:12 +0100 |
commit | f00515ba2e392bd9a9ce4d5a812307a0db0b2936 (patch) | |
tree | d687e2b505dbb755d4932595682c2614ea99f529 /MCServer/Plugins/MagicCarpet/objects.lua | |
parent | Simplified cWorld::FindAndDoWithPlayer() (diff) | |
download | cuberite-f00515ba2e392bd9a9ce4d5a812307a0db0b2936.tar cuberite-f00515ba2e392bd9a9ce4d5a812307a0db0b2936.tar.gz cuberite-f00515ba2e392bd9a9ce4d5a812307a0db0b2936.tar.bz2 cuberite-f00515ba2e392bd9a9ce4d5a812307a0db0b2936.tar.lz cuberite-f00515ba2e392bd9a9ce4d5a812307a0db0b2936.tar.xz cuberite-f00515ba2e392bd9a9ce4d5a812307a0db0b2936.tar.zst cuberite-f00515ba2e392bd9a9ce4d5a812307a0db0b2936.zip |
Diffstat (limited to 'MCServer/Plugins/MagicCarpet/objects.lua')
-rw-r--r-- | MCServer/Plugins/MagicCarpet/objects.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MCServer/Plugins/MagicCarpet/objects.lua b/MCServer/Plugins/MagicCarpet/objects.lua index 30528cc42..7c19fc232 100644 --- a/MCServer/Plugins/MagicCarpet/objects.lua +++ b/MCServer/Plugins/MagicCarpet/objects.lua @@ -52,7 +52,7 @@ function cCarpet:new() end
function cCarpet:remove()
- local World = cRoot:Get():GetWorld()
+ local World = cRoot:Get():GetDefaultWorld()
for i, fib in ipairs( self.Fibers ) do
local x = self.Location.x + fib.x
local y = self.Location.y + fib.y
@@ -66,7 +66,7 @@ function cCarpet:remove() end
function cCarpet:draw()
- local World = cRoot:Get():GetWorld()
+ local World = cRoot:Get():GetDefaultWorld()
for i, fib in ipairs( self.Fibers ) do
local x = self.Location.x + fib.x
local y = self.Location.y + fib.y
|