Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removed console logs

  • Loading branch information...
commit 68176d5c2c9d078242736dd1fbbb3958f96a7009 1 parent e5bfd76
@VanCoding authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 index.js
View
5 index.js
@@ -249,7 +249,6 @@ MCAManager.prototype.writeRawAt = function(offset,data,compression,cb){
}
MCAManager.prototype.writeRaw = function(x,y,data,compression,cb){
- console.log(data.length);
var self = this;
self.getPosition(x,y,function(err,offset,sectors){
if(err){
@@ -260,9 +259,7 @@ MCAManager.prototype.writeRaw = function(x,y,data,compression,cb){
self.writeRawAt(offset,data,compression,cb);
}else{
var newsectors = Math.ceil(data.length/4096);
- var newoffset = self.findSpace(newsectors*4096);
- console.log(newoffset);
-
+ var newoffset = self.findSpace(newsectors*4096);
self.useSpace(newoffset,newsectors*4096);
self.writeRawAt(newoffset,data,compression,function(err){
if(err){
Please sign in to comment.
Something went wrong with that request. Please try again.