Applied Energistics 2

Applied Energistics 2

137M Downloads

ME Annihilation Plane not work properly in the server

SAGESSE-CN opened this issue ยท 4 comments

commented

Describe the bug

ME Annihilation Plane not work properly in the server, It can't break the block in front of it, but if I throw something at it it can actually enter into the network normally.
It worked fine on the server for a while, but suddenly it stopped working.
I reset the world, and I can't make it work again.
It works normally in the local.

To Reproduce

From left to right: A energy, A ME Chest , A Cable, A Me Annihilation Plane, A Any Block.
image

Expected behavior

Can't break block in the server.

Environment

  • Minecraft Version: 1.12.2
  • AE2 Version: rv6-stable-7
  • Forge Version: 14.23.5.2838
commented

Now it is work again. I didn't do anything.

commented

I know there is a problem, because the remote server exists 'spawn-protection', when I use ME Annihilation Plane near the birth point, it will not work properly.

Which is expected and 'as designed'. Annihilation Plane should not work in such protected chunks.

commented

I tried to track down the problem and found that only canMineBlockBody is different local server and remote srever.

In local server:

[18:36:00] [Server thread/INFO] [AE2:S]: breaking: false
[18:36:00] [Server thread/INFO] [AE2:S]: isAccepting: true, getProxy.isActive: true
[18:36:00] [Server thread/INFO] [AE2:S]: canHandleBlock: BlockPos{x=-492, y=4, z=887}, ignoreMaterials: false, ignoreBlocks: false, hardness: 0.6, isAirBlock: false, isBlockLoaded: true, canMineBlockBody:true
[18:36:00] [Server thread/INFO] [AE2:S]: canHandleBlock: true
[18:36:00] [Server thread/INFO] [AE2:S]: canHandleBlock: BlockPos{x=-492, y=4, z=887}, ignoreMaterials: false, ignoreBlocks: false, hardness: 0.6, isAirBlock: false, isBlockLoaded: true, canMineBlockBody:true
[18:36:00] [Server thread/INFO] [AE2:S]: hasPower: true, canStore: true
[18:36:00] [Server thread/INFO] [AE2:S]: breaking: true

In remote server:

[18:40:18] [Server thread/INFO] [AE2:S]: breaking: false
[18:40:18] [Server thread/INFO] [AE2:S]: isAccepting: true, getProxy.isActive: true
[18:40:18] [Server thread/INFO] [AE2:S]: canHandleBlock: BlockPos{x=-238, y=64, z=155}, ignoreMaterials: false, ignoreBlocks: false, hardness: 1.5, isAirBlock: false, isBlockLoaded: true, canMineBlockBody:false
[18:40:18] [Server thread/INFO] [AE2:S]: canHandleBlock: false
[18:40:18] [Server thread/INFO] [AE2:S]: canHandleBlock: BlockPos{x=-238, y=64, z=155}, ignoreMaterials: false, ignoreBlocks: false, hardness: 1.5, isAirBlock: false, isBlockLoaded: true, canMineBlockBody:false
commented

I know there is a problem, because the remote server exists 'spawn-protection', when I use ME Annihilation Plane near the birth point, it will not work properly.